diff options
author | Urban Müller | 2009-08-17 13:39:28 +0000 |
---|---|---|
committer | Urban Müller | 2009-08-17 13:39:28 +0000 |
commit | 7fc4e9df668c8c7b663c68f05ef6e96d09a3c16d (patch) | |
tree | df6331819ca121ba6616b179a58a05edad4106d2 /it_dbi.class | |
parent | f589bf01ca9f0409b3ac40c1ec8a17ef71c0a498 (diff) | |
download | itools-7fc4e9df668c8c7b663c68f05ef6e96d09a3c16d.tar.gz itools-7fc4e9df668c8c7b663c68f05ef6e96d09a3c16d.tar.bz2 itools-7fc4e9df668c8c7b663c68f05ef6e96d09a3c16d.zip |
nocache -> SQL_NO_CACHE
Diffstat (limited to 'it_dbi.class')
-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']); |