From 2990ce3e7448571d1d780c8f1fe4e83aa485f11f Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Fri, 15 Jan 2021 15:38:31 +0100 Subject: SQL_NO_CACHE is mysql specific --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- cgit v1.2.3