From 12b423d8e2ced2fef658048aae755bb7b3094d88 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Sun, 30 Sep 2007 14:40:14 +0000 Subject: Recalculate dbid for link when switching to update server --- it_dbi.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it_dbi.class') 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); } -- cgit v1.2.3