summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 0f700be..7c3c965 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -355,6 +355,7 @@ function query($query)
{
debug(get_class($this)."::query(\"$query\")", 4);
+ $this->_connect();
$start = gettimeofday();
if ($this->_server_update && !preg_match('/^(EXPLAIN|SELECT|SHOW) /i', $query))