summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/drivers/oci8/oci8_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index bc0862b5e..99f7d57bd 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -393,7 +393,7 @@ class CI_DB_oci8_driver extends CI_DB {
function insert_id()
{
// not supported in oracle
- return 0;
+ return $this->display_error('db_unsupported_function');
}
// --------------------------------------------------------------------