diff options
-rw-r--r-- | it_dbi.class | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class index 43b33b0..9e4ca74 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -534,6 +534,9 @@ 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')) + $what = 'SQL_NO_CACHE ' . $what; + $nofetch = $this->_nofetch = $query['NOFETCH']; unset($query['NOFETCH']); |