bug fix for --schema --technique=BST

This commit is contained in:
Miroslav Stampar
2012-02-24 14:12:19 +00:00
parent f94b91ad87
commit 9d6fd2e507
2 changed files with 12 additions and 4 deletions

View File

@@ -1138,7 +1138,7 @@ class Enumeration:
table[safeSQLIdentificatorNaming(tbl, True)] = columns
kb.data.cachedColumns[safeSQLIdentificatorNaming(conf.db)] = table
if not kb.data.cachedColumns and isInferenceAvailable() and not conf.direct:
if safeSQLIdentificatorNaming(conf.db) not in kb.data.cachedColumns and isInferenceAvailable() and not conf.direct:
for tbl in tblList:
if conf.db is not None and len(kb.data.cachedColumns) > 0 \
and conf.db in kb.data.cachedColumns and tbl in \