From 4dd2ce87fa30735e2654689d915740bc23a0dc49 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 19 Jul 2007 12:27:05 +0000 Subject: Update dbi link cache when switch to update server --- dbi.class | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3