Update for Apache Derby (#5315)

This commit is contained in:
Miroslav Stampar
2023-02-12 17:12:38 +01:00
parent 4357b0087d
commit c5d7c542a2
4 changed files with 9 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ class Fingerprint(GenericFingerprint):
infoMsg = "testing %s" % DBMS.DERBY
logger.info(infoMsg)
result = inject.checkBooleanExpression("[RANDNUM]=(SELECT [RANDNUM] FROM SYSIBM.SYSDUMMY1 {LIMIT 1 OFFSET 0})")
result = inject.checkBooleanExpression("[RANDNUM]=(SELECT [RANDNUM] FROM SYSIBM.SYSDUMMY1 OFFSET 0 ROWS FETCH FIRST 1 ROW ONLY)")
if result:
infoMsg = "confirming %s" % DBMS.DERBY