Code optimization: remove a superfluous bit compare.

(Guess I'll be the one buying beer ;-).)
This commit is contained in:
rosenfield
2007-10-05 22:11:09 +00:00
parent cae34f1a6c
commit e3fb1070d9

View File

@@ -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:
// <delimiter> <whitespace(s)> <character(s)> <whitespace(s)> <newline>
if isWhitespace(secchar) then begin