mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-27 06:11:53 +02:00
* Patch from Lacak2 for #16842. Fix parsing of FROM (mysql show..from)
git-svn-id: trunk@20919 -
This commit is contained in:
parent
6568de7e0f
commit
86ec9c367c
@ -1279,8 +1279,7 @@ begin
|
|||||||
case ParsePart of
|
case ParsePart of
|
||||||
ppStart : begin
|
ppStart : begin
|
||||||
Result := TSQLConnection(Database).StrToStatementType(s);
|
Result := TSQLConnection(Database).StrToStatementType(s);
|
||||||
if Result = stSelect then ParsePart := ppSelect
|
if s = 'SELECT' then ParsePart := ppSelect else break;
|
||||||
else break;
|
|
||||||
if not FParseSQL then break;
|
if not FParseSQL then break;
|
||||||
PStatementPart := CurrentP;
|
PStatementPart := CurrentP;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user