summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Gass2021-01-15 15:38:31 +0100
committerNathan Gass2021-01-15 15:38:36 +0100
commit2990ce3e7448571d1d780c8f1fe4e83aa485f11f (patch)
tree855038e9bd383056338bc6da8ac9169185238e27
parentcc2c384d326fd47e8a854e02ac636b2952a4a21a (diff)
downloaditools-2990ce3e7448571d1d780c8f1fe4e83aa485f11f.tar.gz
itools-2990ce3e7448571d1d780c8f1fe4e83aa485f11f.tar.bz2
itools-2990ce3e7448571d1d780c8f1fe4e83aa485f11f.zip
SQL_NO_CACHE is mysql specific
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 3048315..2b6f475 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -672,7 +672,7 @@ function select(/* $query = array|string, ... */)
}
unset($query['CALC_FOUND_ROWS']); # Always unset, so CALC_FOUND_ROWS => false doesn't generate bogus query
- if (EDC('nocache'))
+ if (EDC('nocache') && static::$_global_key == 'it_dbi')
$what = 'SQL_NO_CACHE ' . $what;
$nofetch = $this->_nofetch = $query['NOFETCH'];