"Violent agreement". :-)
Sent from my android device.
-----Original Message-----
From: Simon Davies <
[hidden email]>
To: General Discussion of SQLite Database <
[hidden email]>
Sent: Sun, 15 Mar 2015 9:08 AM
Subject: Re: [sqlite] SQLITE_OPEN_EXCLUSIVE
On 15 March 2015 at 12:54, Felipe Gasper <
[hidden email]> wrote:
> This seems to support the idea that O_EXCL is SQLITE_OPEN_EXCLUSIVE..?
"The SQLITE_OPEN_EXCLUSIVE flag is always used in conjunction with the
SQLITE_OPEN_CREATE flag, which are both directly analogous to the
O_EXCL and O_CREAT flags of the POSIX open() API. The
SQLITE_OPEN_EXCLUSIVE flag, when paired with the SQLITE_OPEN_CREATE,
is used to indicate that file should always be created, and that it is
an error if it already exists. It is not used to indicate the file
should be opened for exclusive access."
I think that is pretty explicit.
Regards,
Simon
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users