We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 378ce46 commit 7104e00Copy full SHA for 7104e00
1 file changed
plugins/dbms/sybase/fingerprint.py
@@ -99,7 +99,7 @@ def checkDbms(self):
99
logger.info(infoMsg)
100
101
for version in xrange(12, 16):
102
- result = inject.checkBooleanExpression("@@VERSION_NUMBER/1000=%d" % version)
+ result = inject.checkBooleanExpression("PATINDEX('%%/%d[./]%%',@@VERSION)>0" % version)
103
104
if result:
105
Backend.setVersion(str(version))
0 commit comments