Initial commit for #3283 (fixing H2 misidentification with PgSQL and/or HSQLDB)

This commit is contained in:
Miroslav Stampar
2018-10-16 08:02:38 +02:00
parent 9f6e04b141
commit fb95ab8c17
4 changed files with 12 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ class Fingerprint(GenericFingerprint):
infoMsg = "testing %s" % DBMS.PGSQL
logger.info(infoMsg)
result = inject.checkBooleanExpression("[RANDNUM]::int=[RANDNUM]")
result = inject.checkBooleanExpression("QUOTE_IDENT(NULL) IS NULL")
if result:
infoMsg = "confirming %s" % DBMS.PGSQL