diff options
author | Andrey Andreev <narf@devilix.net> | 2014-11-18 10:12:35 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-11-18 10:12:35 +0100 |
commit | ed3fc511e4e5aa7b171fd806e73401ace2497b32 (patch) | |
tree | 7be44673224139a6bf4dba41f18fbfb7378a1dba /system/libraries/Session/drivers/Session_cookie.php | |
parent | 71f0099cf443eaa98e2510b3fc274da4715b3b36 (diff) |
Force ORDER BY usage with OFFSET-FETCH on SQL Server
Close #3128
Close #3332
Close #3334
Close #3335
Diffstat (limited to 'system/libraries/Session/drivers/Session_cookie.php')
-rw-r--r-- | system/libraries/Session/drivers/Session_cookie.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_cookie.php b/system/libraries/Session/drivers/Session_cookie.php index 0001dc2d8..21ded899a 100644 --- a/system/libraries/Session/drivers/Session_cookie.php +++ b/system/libraries/Session/drivers/Session_cookie.php @@ -486,7 +486,7 @@ class CI_Session_cookie extends CI_Session_driver { $db_cache = $this->CI->db->cache_on; $this->CI->db->cache_off(); - $query = $this->CI->db->limit(1)->get($this->sess_table_name); + $query = $this->CI->db->get($this->sess_table_name); // Was caching in effect? if ($db_cache) |