MantisBT: master-1.2.x 39a40806

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-03-27 02:16 master-1.2.x 9c210a3b
Changeset

Avoid unnecessary execution of query logging code

As per documentation for $g_show_queries_list, this option should only
be effective when $g_show_queries_count is ON. However, the global
variable $g_db_log_queries initialized in database_api.php did not
reflect this, which resulted in unnecessary execution of the logging
code in db_query_bound().

mod - core/database_api.php Diff File