diff options
author | Andrey Andreev <narf@devilix.net> | 2015-12-14 12:05:33 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-12-14 12:05:33 +0100 |
commit | 27ba5e6957c9e245478285191b5a88df4bcdc5bb (patch) | |
tree | 15ada90d3c73b2505a43d12c47a33f807ebf31ae /system/database/DB_driver.php | |
parent | ce8fa5acfe0e7f9d8b974fa470201a9404667b3d (diff) |
Close #4313
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 12 |
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 |