From a4ad81dd4cad368d2589d782c759b4d6bc951439 Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Mon, 23 Dec 2019 17:08:01 +0100 Subject: [PATCH] Resolved e_db_mysql::db_Query() logging inconsistency Logging change made in f34eeaf369678ddafe2842b391e3b1ec534aa324 for e_db_pdo was not applied to e_db_mysql This commit makes the behaviors consistent between the two implementations of e_db. --- e107_handlers/mysql_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php index ed454f7be..0ce1d4dda 100644 --- a/e107_handlers/mysql_class.php +++ b/e107_handlers/mysql_class.php @@ -488,7 +488,7 @@ class e_db_mysql implements e_db if ($debug == 'now') { - echo "
** $query

\n"; + $this->dbg->log($query); } if ($debug !== FALSE || strstr($_SERVER['QUERY_STRING'], 'showsql')) {