Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b67f342

Browse files
committed
Minor patch
1 parent a371f18 commit b67f342

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def preprocessField(self, table, field):
476476
"""
477477

478478
retVal = field
479-
if conf.db in table:
479+
if conf.db and table and conf.db in table:
480480
table = table.split(conf.db)[-1].strip('.')
481481
try:
482482
columns = kb.data.cachedColumns[safeSQLIdentificatorNaming(conf.db)][safeSQLIdentificatorNaming(table, True)]

0 commit comments

Comments
 (0)