summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-12-14 12:05:33 +0100
committerAndrey Andreev <narf@devilix.net>2015-12-14 12:05:33 +0100
commit27ba5e6957c9e245478285191b5a88df4bcdc5bb (patch)
tree15ada90d3c73b2505a43d12c47a33f807ebf31ae
parentce8fa5acfe0e7f9d8b974fa470201a9404667b3d (diff)
Close #4313
-rw-r--r--system/database/DB_driver.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 25e70ec3f..bfe9dd4b0 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -505,6 +505,18 @@ abstract class CI_DB_driver {
// --------------------------------------------------------------------
/**
+ * Last error
+ *
+ * @return array
+ */
+ public function error()
+ {
+ return array('code' => NULL, 'message' => NULL);
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
* Set client character set
*
* @param string