diff options
author | Derek Jones <derek.jones@ellislab.com> | 2009-02-27 17:29:59 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2009-02-27 17:29:59 +0100 |
commit | 87cbafce2d6803af78714baf8bba64309c01fc33 (patch) | |
tree | ebc4797260b74b4959ac07cabaa97ba4236c3e2f /system/database/drivers/sqlite | |
parent | af4fb22745413cac182064a495da83318a41fde9 (diff) |
added reconnect() method to db drivers
Diffstat (limited to 'system/database/drivers/sqlite')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_driver.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php index bb1e6d02e..cd7b26bc4 100644 --- a/system/database/drivers/sqlite/sqlite_driver.php +++ b/system/database/drivers/sqlite/sqlite_driver.php @@ -100,6 +100,22 @@ class CI_DB_sqlite_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 SQLite + } + + // -------------------------------------------------------------------- + + /** * Select the database * * @access private called by the base class |