summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorTúbal Martín <tubalmartin@gmail.com>2011-11-24 14:43:45 +0100
committerTúbal Martín <tubalmartin@gmail.com>2011-11-24 14:43:45 +0100
commit511f225d855919b78df42ff802a513d84afa0693 (patch)
tree4d22ca6d784126eada3f9a8d0ef0be35fcb4b818 /system/database/DB_driver.php
parentb8188f6a588fbf2a4b9570580999317ba149ecb0 (diff)
Added dummy _reset_select() method to CI_DB_Driver class to allow Active Record class to be disabled. Otherwise a fatal error is triggered.
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 3680b85c2..8f530b482 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1381,7 +1381,21 @@ class CI_DB_driver {
return $item.$alias;
}
+
+ // --------------------------------------------------------------------
+ /**
+ * Dummy method that allows Active Record class to be disabled
+ *
+ * This function is used extensively by every db driver.
+ *
+ * @access private
+ * @return void
+ */
+ protected function _reset_select()
+ {
+
+ }
}