From db708af87341897cbc7fd1157291377c253d371f Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 23 Jan 2008 17:18:41 +0000 Subject: added an "unsupported" error to insert_id() in oracle --- system/database/drivers/oci8/oci8_driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/database') 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'); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b