This commit is contained in:
Miroslav Stampar
2019-02-28 01:05:23 +01:00
parent 034bac2a11
commit 58acc4a0bc
3 changed files with 4 additions and 4 deletions

View File

@@ -346,7 +346,7 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
affected parameter.
"""
if conf.hexConvert:
if conf.hexConvert and expected != EXPECTED.BOOL and Backend.getIdentifiedDbms():
if not hasattr(queries[Backend.getIdentifiedDbms()], "hex"):
warnMsg = "switch '--hex' is currently not supported on DBMS %s" % Backend.getIdentifiedDbms()
singleTimeWarnMessage(warnMsg)