summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/interbase
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/interbase')
-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);
}
// --------------------------------------------------------------------