* Patch from Lacak2 for #16842. Fix parsing of FROM (mysql show..from)

git-svn-id: trunk@20919 -
This commit is contained in:
marco 2012-04-18 13:31:35 +00:00
parent 6568de7e0f
commit 86ec9c367c

View File

@ -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;