summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/interbase/interbase_driver.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-02-22 16:34:23 +0100
committerTimothy Warren <tim@timshomepage.net>2012-02-22 16:34:23 +0100
commitab189e162f20f1a7daae8bfd2b921e694c3f9df3 (patch)
treecf76a833d01e1d4f0ffd8b5a7f90c8d43d911031 /system/database/drivers/interbase/interbase_driver.php
parent125fe732c09f82a0702f29c9309f726bdd5a33c3 (diff)
Close services after using them, added dbutil->backup() method
Diffstat (limited to 'system/database/drivers/interbase/interbase_driver.php')
-rw-r--r--system/database/drivers/interbase/interbase_driver.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/database/drivers/interbase/interbase_driver.php b/system/database/drivers/interbase/interbase_driver.php
index 33038ad80..b49d1fa74 100644
--- a/system/database/drivers/interbase/interbase_driver.php
+++ b/system/database/drivers/interbase/interbase_driver.php
@@ -139,6 +139,9 @@ class CI_DB_interbase_driver extends CI_DB {
if (($service = ibase_service_attach($this->hostname, $this->username, $this->password)))
{
$version = ibase_server_info($service, IBASE_SVC_SERVER_VERSION);
+
+ // Don't keep the service open
+ ibase_service_detach($service);
return $version;
}