mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 10:40:13 +02:00
* sqldb: bufdataset: no longer swallow filter parsing exceptions
git-svn-id: trunk@23570 -
This commit is contained in:
parent
4d3df8f518
commit
33bf805ac1
@ -1162,12 +1162,7 @@ begin
|
||||
FOpen:=True;
|
||||
|
||||
// parse filter expression
|
||||
try
|
||||
ParseFilter(Filter);
|
||||
except
|
||||
// oops, a problem with parsing, clear filter for now
|
||||
on E: Exception do Filter := EmptyStr;
|
||||
end;
|
||||
ParseFilter(Filter);
|
||||
|
||||
if assigned(FDatasetReader) then IntLoadRecordsFromFile;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user