[yunqa.de] Re: database locking

  • From: "Hennekens, Stephan" <stephan.hennekens@xxxxxx>
  • To: "yunqa@xxxxxxxxxxxxx" <yunqa@xxxxxxxxxxxxx>
  • Date: Mon, 10 Feb 2014 14:00:00 +0000

Hi Ralf,

I would very much welcome this (adding flags options).

Stephan 

 
 

-----Oorspronkelijk bericht-----
Van: yunqa-bounce@xxxxxxxxxxxxx [mailto:yunqa-bounce@xxxxxxxxxxxxx] Namens 
Delphi Inspiration
Verzonden: maandag 10 februari 2014 14:57
Aan: yunqa@xxxxxxxxxxxxx
Onderwerp: [yunqa.de] Re: database locking

On 10.02.2014 14:29, LucDeSa wrote:

> How do i implement this when using TDISQLite3Database.open ?

The TDISQLite3DataBase class wrapper does not yet provide options to set the 
database open flags.

So at current you have to change the source in DISQLite3Database.pas.

Please give it a try using a simple hack for now and report back if 
SQLITE_OPEN_READONLY solves your problem. If it does, I will add flag options 
to TDISQLite3DataBase which will persist forthcoming DISQLite3 versions.

Ralf
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa




Other related posts: