From 9a631331a57bb447a14d731ea21a9be166f7a58c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 8 Sep 2012 20:22:13 +0200 Subject: [PATCH] Fix for an Issue #177 --- plugins/dbms/mysql/fingerprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index 352ff4a58..e93723f3a 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -168,7 +168,7 @@ class Fingerprint(GenericFingerprint): logger.info(infoMsg) randInt = getUnicode(randomInt(1)) - result = inject.checkBooleanExpression("CONNECTION_ID()=CONNECTION_ID()") + result = inject.checkBooleanExpression("QUARTER(NULL) IS NULL") if result: infoMsg = "confirming %s" % DBMS.MYSQL