mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Allow "DELIMITER xyz" not followed by some whitespace. Fixes issue #2655.
This commit is contained in:
@ -313,7 +313,8 @@ begin
|
|||||||
DelimLen := Length(Delim);
|
DelimLen := Length(Delim);
|
||||||
Result := TSQLBatch.Create;
|
Result := TSQLBatch.Create;
|
||||||
rx := TRegExpr.Create;
|
rx := TRegExpr.Create;
|
||||||
rx.Expression := '^\s*DELIMITER\s+(\S+)\s';
|
rx.Expression := '^\s*DELIMITER\s+(\S+)';
|
||||||
|
rx.ModifierG := True;
|
||||||
rx.ModifierI := True;
|
rx.ModifierI := True;
|
||||||
rx.ModifierM := False;
|
rx.ModifierM := False;
|
||||||
while i < AllLen do begin
|
while i < AllLen do begin
|
||||||
|
Reference in New Issue
Block a user