summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))