View Ticket
Not logged in
Ticket Hash: 00e53bf26d3ecc47d6f40cf887a554f2d6b628fe
Title: Possible bug in SQLiteOpenFlagsEnum
Status: Closed Type: Code_Defect
Severity: Cosmetic Priority: Medium
Subsystem: Connection Resolution: Fixed
Last Modified: 2016-09-28 07:03:10
Version Found In:
User Comments:
anonymous added on 2016-09-27 15:20:17:
  internal enum SQLiteOpenFlagsEnum
    None = 0,
    ReadOnly = 0x01,
    ReadWrite = 0x02,
    Create = 0x04,
    Uri = 0x40,
    SharedCache = 0x01000000,
    Default = 0x06,

Shouldn't the value of SharedCache be the same as this #define from the native source:

#define SQLITE_OPEN_SHAREDCACHE      0x00020000  /* Ok for sqlite3_open_v2() */

mistachkin added on 2016-09-28 07:00:47:
Apparently, that flag value is no longer used.  It was used to communicate
privately between the managed assembly and the interop assembly (i.e. it was
not intended to have the same value as the core library flag, per se).

Anyhow, it's totally useless now.

mistachkin added on 2016-09-28 07:03:10:
Flag value removed on trunk via check-in [f2d4512fc753e0d7].