summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorRobin Sowell <robin.sowell@ellislab.com>2010-09-16 18:52:07 +0200
committerRobin Sowell <robin.sowell@ellislab.com>2010-09-16 18:52:07 +0200
commit43753fde8ce6c07478a013b32dc4a833fb0d1ed7 (patch)
tree094cb8221edbcc873becf543c1b3f36f0b374f92 /system/database
parentd2167a01ec5bd134a4138b50d76487caa72245c6 (diff)
Added $ar_keys clearing out to _reset_write().
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_active_rec.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 953cc9548..25645a050 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -36,6 +36,7 @@ class CI_DB_active_record extends CI_DB_driver {
var $ar_like = array();
var $ar_groupby = array();
var $ar_having = array();
+ var $ar_keys = array();
var $ar_limit = FALSE;
var $ar_offset = FALSE;
var $ar_order = FALSE;
@@ -2045,7 +2046,7 @@ class CI_DB_active_record extends CI_DB_driver {
/**
* Resets the active record "write" values.
*
- * Called by the insert() update() and delete() functions
+ * Called by the insert() update() insert_batch() update_batch() and delete() functions
*
* @access private
* @return void
@@ -2057,7 +2058,8 @@ class CI_DB_active_record extends CI_DB_driver {
'ar_from' => array(),
'ar_where' => array(),
'ar_like' => array(),
- 'ar_orderby' => array(),
+ 'ar_orderby' => array(),
+ 'ar_keys' => array(),
'ar_limit' => FALSE,
'ar_order' => FALSE
);