From e3fb1070d9e284e914e3cee9e308e50bc5e91c87 Mon Sep 17 00:00:00 2001 From: rosenfield Date: Fri, 5 Oct 2007 22:11:09 +0000 Subject: [PATCH] Code optimization: remove a superfluous bit compare. (Guess I'll be the one buying beer ;-).) --- source/helpers.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/helpers.pas b/source/helpers.pas index af377a66..53b57fbd 100644 --- a/source/helpers.pas +++ b/source/helpers.pas @@ -540,7 +540,7 @@ begin backslash := not backslash; // Allow a DELIMITER command in middle of SQL, like the MySQL CLI does. - if (not instring) and (not incomment) and (not inbigcomment) and (not inconditional) and (not indelimiter) and (start + 8 = i) and scanReverse(sql, i, 'delimiter', true) then begin + if (not instring) and (not incomment) and (not inconditional) and (not indelimiter) and (start + 8 = i) and scanReverse(sql, i, 'delimiter', true) then begin // The allowed DELIMITER format is: // if isWhitespace(secchar) then begin