Skip to content

Commit 3bbe02a

Browse files
committed
Bug fix (0 datetime value not liked by direct connector)
1 parent 0cf2bde commit 3bbe02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/dbms/mysql/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def checkDbms(self):
181181
# Reference: http://bugs.mysql.com/bug.php?id=15855
182182

183183
# Determine if it is MySQL >= 5.0.0
184-
if inject.checkBooleanExpression("ISNULL(TIMESTAMPADD(MINUTE,[RANDNUM],0))"):
184+
if inject.checkBooleanExpression("ISNULL(TIMESTAMPADD(MINUTE,[RANDNUM],NULL))"):
185185
kb.data.has_information_schema = True
186186
Backend.setVersion(">= 5.0.0")
187187
setDbms("%s 5" % DBMS.MYSQL)

0 commit comments

Comments
 (0)