summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2007-09-30 14:40:14 +0000
committerChristian Schneider2007-09-30 14:40:14 +0000
commit12b423d8e2ced2fef658048aae755bb7b3094d88 (patch)
treebb1cbff29c2be61a9824bfb4146c8b15c23c7981
parent4a69faa6cb32368dcd32e838615a1f7f79859d7d (diff)
downloaditools-12b423d8e2ced2fef658048aae755bb7b3094d88.tar.gz
itools-12b423d8e2ced2fef658048aae755bb7b3094d88.tar.bz2
itools-12b423d8e2ced2fef658048aae755bb7b3094d88.zip
Recalculate dbid for link when switching to update server
-rw-r--r--it_dbi.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 60619a4..585856e 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -362,6 +362,7 @@ function query($query)
{
debug("switching to update server \"{$this->_p['server_update']}\"", 5);
$this->_p['server'] = $this->_p['server_update'];
+ $this->_p['dbid'] = "{$this->_p['user']}@{$this->_p['server']}:{$this->_p['db']}";
unset($this->_p['server_update'], $this->_link);
}