mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-27 09:09:34 +02:00
* Fix bug #33446, crash if filename does not exist, patch by Werner Pamler
git-svn-id: trunk@38547 -
This commit is contained in:
parent
574b1e62e9
commit
a795ff2e2e
@ -653,7 +653,7 @@ end;
|
||||
procedure TMemDataset.InternalOpen;
|
||||
|
||||
begin
|
||||
If (FFileName<>'') then
|
||||
If (FFileName<>'') and FileExists(FFileName) then
|
||||
FOpenStream:=TFileStream.Create(FFileName,fmOpenRead);
|
||||
Try
|
||||
InternalInitFieldDefs;
|
||||
|
Loading…
Reference in New Issue
Block a user