Explicitly added driver name variable in each DB driver, based on this bug report: #4436
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index 52df1e5..db04c6d 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,