diff options
author | Andrey Andreev <narf@devilix.net> | 2018-03-22 16:00:47 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2018-03-22 16:00:47 +0100 |
commit | c243df3af851fe90cd272f3958f7eb7bf76173b1 (patch) | |
tree | 83e8bda62fe6c5b40b7cd93cbc6c6c3a8214cc03 /system/database/drivers/oci8/oci8_driver.php | |
parent | f3e19ac4990e1e3fbc6964e97e7e09e506935d6e (diff) | |
parent | 3d2073e877cb1fddbea8fcec5bc5d38b545cdcfa (diff) |
Merge branch '3.1-stable' into develop
Conflicts resolved:
system/core/CodeIgniter.php
system/core/Security.php
system/database/DB_query_builder.php
system/libraries/Email.php
user_guide_src/source/changelog.rst
user_guide_src/source/conf.py
user_guide_src/source/installation/downloads.rst
user_guide_src/source/installation/upgrading.rst
Diffstat (limited to 'system/database/drivers/oci8/oci8_driver.php')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 1bd977390..b90db4bd2 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -97,7 +97,7 @@ class CI_DB_oci8_driver extends CI_DB { * * @var bool */ - public $limit_used; + public $limit_used = FALSE; // -------------------------------------------------------------------- @@ -685,4 +685,17 @@ class CI_DB_oci8_driver extends CI_DB { oci_close($this->conn_id); } + // -------------------------------------------------------------------- + + /** + * We need to reset our $limit_used hack flag, so it doesn't propagate + * to subsequent queries. + * + * @return void + */ + protected function _reset_select() + { + $this->limit_used = FALSE; + parent::_reset_select(); + } } |