summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2007-08-08 02:53:07 +0000
committerUrban Müller2007-08-08 02:53:07 +0000
commit29684057b2d1e51ec37cdc9cf837ad68ce3905c5 (patch)
tree5d06606102bd777562ab864132301659ee4f5e9c
parent88bcdb8c4ccf79f9cfb0e7d433a1767638c36e84 (diff)
downloaditools-29684057b2d1e51ec37cdc9cf837ad68ce3905c5.tar.gz
itools-29684057b2d1e51ec37cdc9cf837ad68ce3905c5.tar.bz2
itools-29684057b2d1e51ec37cdc9cf837ad68ce3905c5.zip
query can be used directly
-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))