summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2007-07-19 12:27:05 +0000
committerChristian Schneider2007-07-19 12:27:05 +0000
commit4dd2ce87fa30735e2654689d915740bc23a0dc49 (patch)
tree8a682679525bc8882d75e96a8098ac48d776903d
parent11c189116b1fbba7d25a77e2bc620a20e9fd9b57 (diff)
downloaditools-4dd2ce87fa30735e2654689d915740bc23a0dc49.tar.gz
itools-4dd2ce87fa30735e2654689d915740bc23a0dc49.tar.bz2
itools-4dd2ce87fa30735e2654689d915740bc23a0dc49.zip
Update dbi link cache when switch to update server
-rw-r--r--dbi.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbi.class b/dbi.class
index 85b94cc..9426971 100644
--- a/dbi.class
+++ b/dbi.class
@@ -366,6 +366,7 @@ function query($query)
$this->_server = $this->_server_update;
unset($this->_server_update);
+ $GLOBALS['it_dbi_link'][$this->_dbid] = $this->_link; # Update link cache for switching between databases
#it::log('sqllog', "switched to update server $this->_server");
}
else