summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/oci8
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-23 18:18:41 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-23 18:18:41 +0100
commitdb708af87341897cbc7fd1157291377c253d371f (patch)
treed8170293b317dd46a8613d1c756de1d9b8445253 /system/database/drivers/oci8
parentd92d3c4e004674d7a5fdb37c8d27a49a1783509f (diff)
added an "unsupported" error to insert_id() in oracle
Diffstat (limited to 'system/database/drivers/oci8')
-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');
}
// --------------------------------------------------------------------