mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 17:39:20 +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;
|
FOpen:=True;
|
||||||
|
|
||||||
// parse filter expression
|
// parse filter expression
|
||||||
try
|
ParseFilter(Filter);
|
||||||
ParseFilter(Filter);
|
|
||||||
except
|
|
||||||
// oops, a problem with parsing, clear filter for now
|
|
||||||
on E: Exception do Filter := EmptyStr;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if assigned(FDatasetReader) then IntLoadRecordsFromFile;
|
if assigned(FDatasetReader) then IntLoadRecordsFromFile;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user