Minor fix

This commit is contained in:
Miroslav Stampar 2013-02-15 17:08:50 +01:00
parent 834ae6aac0
commit 046f347f5d

View File

@ -508,7 +508,6 @@ class Search:
colQuery = colQuery % unsafeSQLIdentificatorNaming(column)
for db in dbData:
db = safeSQLIdentificatorNaming(db)
conf.db = origDb
conf.tbl = origTbl
@ -545,7 +544,7 @@ class Search:
else:
query += " AND %s" % (colQuery + whereTblsQuery)
query = safeStringFormat(query, db)
query = safeStringFormat(query, unsafeSQLIdentificatorNaming(db))
query = agent.limitQuery(index, query)
tbl = unArrayizeValue(inject.getValue(query, union=False, error=False))