diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-26 11:24:40 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-26 11:24:40 +0200 |
commit | 2a23e4ad2b71f26262964ac49819ef0a7aebbb9a (patch) | |
tree | 7b4908c8d10325e8940888ef2ec77e19471125b2 /system/database/DB_driver.php | |
parent | 5ee8c3ab2f670c678ca20100a4e1786514371c23 (diff) | |
parent | a00e50483ab27d8ba3d3a2aa1a5138bfa8c8be70 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 42b1b35aa..9f1a0b895 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -171,6 +171,23 @@ abstract class CI_DB_driver { // -------------------------------------------------------------------- /** + * Reconnect + * + * Keep / reestablish the db connection if no queries have been + * sent for a length of time exceeding the server's idle timeout. + * + * This is just a dummy method to allow drivers without such + * functionality to not declare it, while others will override it. + * + * @return void + */ + public function reconnect() + { + } + + // -------------------------------------------------------------------- + + /** * Set client character set * * @param string |