From 7a3509f3624cedfb5c15afe3160ac6c707ac430e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 30 Mar 2005 01:05:39 +0000 Subject: [PATCH] Created live query printing for debugging purposes. --- db_mysql.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/db_mysql.php b/db_mysql.php index 3f5b72e..6bb2e22 100644 --- a/db_mysql.php +++ b/db_mysql.php @@ -102,6 +102,14 @@ class MySQL_Database_Driver $this->query_str = $query_str; $this->history[] = $this->query_str; + if (defined('ISSO_SHOW_QUERIES_LIVE')) + { + if (constant('ISSO_SHOW_QUERIES_LIVE')) + { + print($this->query_str . '
'); + } + } + if (!$this->query_id) { $this->error('Invalid SQL query'); -- 2.22.5