summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql/mysql_driver.php
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-07 03:24:07 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-07 03:24:07 +0200
commit5aa8c60392a89140448691b838a90b7d1c644774 (patch)
tree7ebb8564c34187f8aa3ca08c3f8aa7b5fc3d1fb0 /system/database/drivers/mysql/mysql_driver.php
parentca86a7cf108fe13b89ba22b727a10ab3ac58db19 (diff)
Explicitly added driver name variable in each DB driver, based on this bug report: #4436
Diffstat (limited to 'system/database/drivers/mysql/mysql_driver.php')
-rw-r--r--system/database/drivers/mysql/mysql_driver.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index 52df1e591..db04c6de8 100644
--- a/system/database/drivers/mysql/mysql_driver.php
+++ b/system/database/drivers/mysql/mysql_driver.php
@@ -30,6 +30,8 @@
*/
class CI_DB_mysql_driver extends CI_DB {
+ var $dbdriver = 'mysql';
+
/**
* Whether to use the MySQL "delete hack" which allows the number
* of affected rows to be shown. Uses a preg_replace when enabled,