[sqlite] How to enable shared cache mode?

2015-08-13 Thread Simon Davies
On 13 August 2015 at 19:17, Joe Mistachkin wrote: > > Aaron Hudon wrote: >> >> I've looked through the source, and see there is a method in >> UnsafeNativeMethods.cs that exposes this internally to the >> assembly, but nothing that's public. > > Currently, it's only used by the test suite. In

[sqlite] How to enable shared cache mode?

2015-08-13 Thread Joe Mistachkin
Simon Davies wrote: > > Shared cache can be specified in URI filenames; do they not work with > System.Data.SQLite? > http://www.sqlite.org/c3ref/open.html#urifilenamesinsqlite3open > Yes, that should work. -- Joe Mistachkin

[sqlite] How to enable shared cache mode?

2015-08-13 Thread Joe Mistachkin
Aaron Hudon wrote: > > I've looked through the source, and see there is a method in > UnsafeNativeMethods.cs that exposes this internally to the > assembly, but nothing that's public. > Currently, it's only used by the test suite. In the future, being able to enable shared cache mode for use

[sqlite] How to enable shared cache mode?

2015-08-12 Thread Aaron Hudon
I'm looking for a way to enable the shared-cache locking model in system.data.sqlite. http://www.sqlite.org/sharedcache.html I've looked through the source, and see there is a method in UnsafeNativeMethods.cs that exposes this internally to the assembly, but nothing that's public. E.g.