mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Code optimization: remove a superfluous bit compare.
(Guess I'll be the one buying beer ;-).)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user