* Fix bug #38330: reset line number on execute (1-based)

git-svn-id: trunk@48900 -
This commit is contained in:
michael 2021-03-07 19:02:54 +00:00
parent cc9549dd85
commit 63c340cb27

View File

@ -284,6 +284,7 @@ begin
FUseDollarString:=AValue;
RecalcSeps;
end;
function TCustomSQLScript.GetLine: Integer;
begin
Result:=FLine - 1;
@ -507,7 +508,7 @@ begin
FIsSkipping:=False;
FSkipStackIndex:=0;
Faborted:=False;
FLine:=0;
FLine:=1;
DefaultDirectives;
Repeat
NextStatement();