summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-02-27 17:29:59 +0100
committerDerek Jones <derek.jones@ellislab.com>2009-02-27 17:29:59 +0100
commit87cbafce2d6803af78714baf8bba64309c01fc33 (patch)
treeebc4797260b74b4959ac07cabaa97ba4236c3e2f /system/database/drivers/odbc
parentaf4fb22745413cac182064a495da83318a41fde9 (diff)
added reconnect() method to db drivers
Diffstat (limited to 'system/database/drivers/odbc')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index f7db4ca4b..2e529f32d 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -82,6 +82,22 @@ class CI_DB_odbc_driver extends CI_DB {
// --------------------------------------------------------------------
/**
+ * Reconnect
+ *
+ * Keep / reestablish the db connection if no queries have been
+ * sent for a length of time exceeding the server's idle timeout
+ *
+ * @access public
+ * @return void
+ */
+ function reconnect()
+ {
+ // not implemented in odbc
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
* Select the database
*
* @access private called by the base class