This commit is contained in:
Miroslav Stampar
2019-02-15 16:54:43 +01:00
parent dfe6fe6060
commit 9789d65c19
3 changed files with 4 additions and 3 deletions

View File

@@ -910,6 +910,7 @@ class Databases:
else:
query = "SELECT %s FROM %s.%s" % (queries[Backend.getIdentifiedDbms()].count.query % '*', safeSQLIdentificatorNaming(db), safeSQLIdentificatorNaming(table, True))
query = agent.whereQuery(query)
count = inject.getValue(query, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
if isNumPosStrValue(count):