MantisBT: master 592cbb9c

Author Committer Branch Timestamp Parent
dregad dregad master 2014-02-18 13:33 master ddba1d9f
Affected Issues  0014398: Support for PostgreSQL broken in 1.3
Changeset

Fix travis build errors for PostgreSQL

The errors were caused by executing queries with params in wrong order.

To fix the problem, this commit adds Database API functions to push the
current parameter number onto a stack and pop the value after query
execution, allowing build of multiple queries concurrently.

The caller can call db_param_push() when needed prior to starting the
build of a new query while another one is still pending execution.
db_query_bound() will call db_param_pop() after running the query.

Fixes 0014398

mod - core/custom_field_api.php Diff File
mod - core/database_api.php Diff File
mod - core/user_api.php Diff File