Procedure CheckCompactDBFile in OLEDBAccess.pas

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
salvador
Posts: 6
Joined: Fri 05 Nov 2004 11:57

Procedure CheckCompactDBFile in OLEDBAccess.pas

Post by salvador » Mon 24 Aug 2009 15:03

CheckCompactDBFile uses a file stream to check DB file version. The stream is created with the line "fs := TFileStream.Create(FDatabase, fmOpenRead);". This leads to some problems in multi connexions environment. This code could be improved with a "fs := TFileStream.Create(FDatabase, fmOpenRead or fmShareDenyNone);" line.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 25 Aug 2009 15:01

Thank you for information. We have fixed this problem. This fix will be included in the next DbxSda build.

Post Reply