summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 1022827..77e4615 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -454,7 +454,7 @@ function query($query, $p = array())
$p += $this->_p;
$start = gettimeofday(true);
- if (!it::match('^(EXPLAIN|SELECT|SHOW)', $query))
+ if (!it::match('^(EXPLAIN|SELECT|SHOW)', $query, array('utf8' => false)))
{
if ($p['server_update'])
{
@@ -487,7 +487,7 @@ function query($query, $p = array())
if (!$result)
$this->_fatal("query(\"$query\") failed");
}
- else if (it::match('^(CREATE|ALTER|DROP) ', $query))
+ else if (it::match('^(CREATE|ALTER|DROP) ', $query, array('utf8' => false)))
{
# Purge cache for schema changes (after modifying table)
$dbid = "{$p['user']}@{$p['server']}:{$p['db']}";