summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichiel Vugteveen <info@mvug.nl>2011-08-25 21:25:12 +0200
committerMichiel Vugteveen <info@mvug.nl>2011-08-25 21:25:12 +0200
commit84d76ea2559ddd72b5d1ddbe6fa38e88d9b20c16 (patch)
treedca4f7abff374f54f98232ba308346f8e649d460
parent6935931e0165aed0ef2d5bc9c0f51bf845969c35 (diff)
odbc called incorrect parent in construct
-rw-r--r--system/database/drivers/odbc/odbc_driver.php2
-rw-r--r--user_guide/changelog.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index 5e764e071..08cd27b6c 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -50,7 +50,7 @@ class CI_DB_odbc_driver extends CI_DB {
function CI_DB_odbc_driver($params)
{
- parent::CI_DB($params);
+ parent::CI_DB_driver($params);
$this->_random_keyword = ' RND('.time().')'; // database specific random keyword
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 865bdd8ac..62f6b4f33 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -108,6 +108,7 @@ Change Log
<li>Fixed a bug (#160) - Removed unneeded array copy in the file cache driver.</li>
<li>Fixed a bug (#150) - <samp>field_data()</samp> now correctly returns column length.</li>
<li>Fixed a bug (#8) - <samp>load_class()</samp> now looks for core classes in <samp>APPPATH</samp> first, allowing them to be replaced.</li>
+ <li>Fixed a bug (#24) - ODBC database driver called incorrect parent in __construct().</li>
</ul>
<h2>Version 2.0.3</h2>