diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-01-23 18:18:41 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-01-23 18:18:41 +0100 |
commit | db708af87341897cbc7fd1157291377c253d371f (patch) | |
tree | d8170293b317dd46a8613d1c756de1d9b8445253 /system/database/drivers/oci8/oci8_driver.php | |
parent | d92d3c4e004674d7a5fdb37c8d27a49a1783509f (diff) |
added an "unsupported" error to insert_id() in oracle
Diffstat (limited to 'system/database/drivers/oci8/oci8_driver.php')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 2 |
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');
}
// --------------------------------------------------------------------
|