Close #4313
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 25e70ec..bfe9dd4 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -505,6 +505,18 @@
 	// --------------------------------------------------------------------
 
 	/**
+	 * Last error
+	 *
+	 * @return	array
+	 */
+	public function error()
+	{
+		return array('code' => NULL, 'message' => NULL);
+	}
+
+	// --------------------------------------------------------------------
+
+	/**
 	 * Set client character set
 	 *
 	 * @param	string