diff options
author | Timothy Warren <tim@timshomepage.net> | 2011-08-24 14:21:36 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2011-08-24 14:21:36 +0200 |
commit | 0261596e96446ee5435407abb478204b0c4f79cf (patch) | |
tree | 5308fe3db913886877ac42d2573149dac8eeeb94 /system/database/drivers/pdo | |
parent | 6a450cf1b6440543b14379abacd6308fe51ea4f3 (diff) |
Fixed class comment and reconnect function
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r-- | system/database/drivers/pdo/pdo_driver.php | 8 |
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; } // -------------------------------------------------------------------- |