summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/pdo/pdo_driver.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/database/drivers/pdo/pdo_driver.php b/system/database/drivers/pdo/pdo_driver.php
index 18617a457..d1bec4489 100644
--- a/system/database/drivers/pdo/pdo_driver.php
+++ b/system/database/drivers/pdo/pdo_driver.php
@@ -16,7 +16,7 @@
// ------------------------------------------------------------------------
/**
- * ODBC Database Adapter Class
+ * PDO Database Adapter Class
*
* Note: _DB is an extender class that the app controller
* creates dynamically based on whether the active record
@@ -100,7 +100,11 @@ class CI_DB_pdo_driver extends CI_DB {
*/
function reconnect()
{
- // not implemented in pdo
+ if ($this->db->db_debug)
+ {
+ return $this->db->display_error('db_unsuported_feature');
+ }
+ return FALSE;
}
// --------------------------------------------------------------------