From bfe8e51b7c02d79d3241247dbff43dbb0163743f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 23 May 2011 19:45:40 +0000 Subject: [PATCH] minor fix for retrieving stuff like "SELECT * FROM testdb..users" --- lib/core/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/common.py b/lib/core/common.py index 3929c04e7..0086b5418 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1096,6 +1096,9 @@ def expandAsteriskForColumns(expression): dbTbl = asterisk.group(1) + if dbTbl and ".." in dbTbl: + dbTbl = dbTbl.replace('..', '.dbo.') + if dbTbl and "." in dbTbl: conf.db, conf.tbl = dbTbl.split(".", 1) else: