Skip to content

Commit 7104e00

Browse files
committed
Minor update
1 parent 378ce46 commit 7104e00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/dbms/sybase/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def checkDbms(self):
9999
logger.info(infoMsg)
100100

101101
for version in xrange(12, 16):
102-
result = inject.checkBooleanExpression("@@VERSION_NUMBER/1000=%d" % version)
102+
result = inject.checkBooleanExpression("PATINDEX('%%/%d[./]%%',@@VERSION)>0" % version)
103103

104104
if result:
105105
Backend.setVersion(str(version))

0 commit comments

Comments
 (0)