mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-17 04:49:32 +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
|
||||
ppStart : begin
|
||||
Result := TSQLConnection(Database).StrToStatementType(s);
|
||||
if Result = stSelect then ParsePart := ppSelect
|
||||
else break;
|
||||
if s = 'SELECT' then ParsePart := ppSelect else break;
|
||||
if not FParseSQL then break;
|
||||
PStatementPart := CurrentP;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user