diff options
author | Christian Schneider | 2007-09-30 14:40:14 +0000 |
---|---|---|
committer | Christian Schneider | 2007-09-30 14:40:14 +0000 |
commit | 12b423d8e2ced2fef658048aae755bb7b3094d88 (patch) | |
tree | bb1cbff29c2be61a9824bfb4146c8b15c23c7981 | |
parent | 4a69faa6cb32368dcd32e838615a1f7f79859d7d (diff) | |
download | itools-12b423d8e2ced2fef658048aae755bb7b3094d88.tar.gz itools-12b423d8e2ced2fef658048aae755bb7b3094d88.tar.bz2 itools-12b423d8e2ced2fef658048aae755bb7b3094d88.zip |
Recalculate dbid for link when switching to update server
-rw-r--r-- | it_dbi.class | 1 |
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); } |