From 7fc4e9df668c8c7b663c68f05ef6e96d09a3c16d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 17 Aug 2009 13:39:28 +0000 Subject: nocache -> SQL_NO_CACHE --- it_dbi.class | 3 +++ 1 file changed, 3 insertions(+) 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']); -- cgit v1.2.3