summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/interbase/interbase_driver.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-02-16 00:40:39 +0100
committerTimothy Warren <tim@timshomepage.net>2012-02-16 00:40:39 +0100
commit6e821cecf8ace0e7d721dd946568664c840434aa (patch)
treed8be6cf8b48ff03045b25e9e990f26ce07f47712 /system/database/drivers/interbase/interbase_driver.php
parenteb6dcf058bd0cc6e5f3b6a793491d4a1c144155b (diff)
Implemented insert_id() method
Diffstat (limited to 'system/database/drivers/interbase/interbase_driver.php')
-rw-r--r--system/database/drivers/interbase/interbase_driver.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/database/drivers/interbase/interbase_driver.php b/system/database/drivers/interbase/interbase_driver.php
index 8a156af53..97bf722db 100644
--- a/system/database/drivers/interbase/interbase_driver.php
+++ b/system/database/drivers/interbase/interbase_driver.php
@@ -341,12 +341,13 @@ class CI_DB_interbase_driver extends CI_DB {
* Insert ID
*
* @access public
+ * @param string $generator_name
+ * @param integer $inc_by
* @return integer
*/
- public function insert_id()
+ public function insert_id($generator_name, $inc_by=1)
{
- //@todo Implement manually
- return 0;
+ return ibase_gen_id($generator_name, $inc_by);
}
// --------------------------------------------------------------------