Minor patch

This commit is contained in:
Miroslav Stampar
2020-01-21 11:18:34 +01:00
parent b25181f061
commit f0f1cf1b21
3 changed files with 5 additions and 3 deletions

View File

@@ -75,7 +75,8 @@ class Fingerprint(GenericFingerprint):
infoMsg = "testing %s" % DBMS.PGSQL
logger.info(infoMsg)
result = inject.checkBooleanExpression("QUOTE_IDENT(NULL) IS NULL")
# NOTE: Vertica works too without the CONVERT_TO()
result = inject.checkBooleanExpression("CONVERT_TO('[RANDSTR]', QUOTE_IDENT(NULL)) IS NULL")
if result:
infoMsg = "confirming %s" % DBMS.PGSQL