summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2011-10-07 15:50:05 +0200
committerTimothy Warren <tim@timshomepage.net>2011-10-07 15:50:05 +0200
commite7608b264443bb9803e580f884c44fef46d00fba (patch)
treeae9391b5f636924e02a48fbc837720041fcbae02 /system/database/drivers
parent0e762b32a003dd8a9b805fb95ee7aeb3616c41e3 (diff)
Revert "Changed all db constructors to newer syntax, made insert_id() function more convenient for postgres on pdo driver"
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index bcd7937d9..08cd27b6c 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -48,9 +48,9 @@ class CI_DB_odbc_driver extends CI_DB {
var $_random_keyword;
- function __construct($params)
+ function CI_DB_odbc_driver($params)
{
- parent::__construct($params);
+ parent::CI_DB_driver($params);
$this->_random_keyword = ' RND('.time().')'; // database specific random keyword
}