SQLite Forum

SQLITE_OPEN_SHARED_SCHEMA == SQLITE_OPEN_NOFOLLOW
Login

SQLITE_OPEN_SHARED_SCHEMA == SQLITE_OPEN_NOFOLLOW

(1) By Domingo (mingodad) on 2021-11-06 09:09:00 [link] [source]

In src/sqlite3.h.in now we have :

====
#define SQLITE_OPEN_NOFOLLOW         0x01000000  /* Ok for sqlite3_open_v2() */
...
#define SQLITE_OPEN_SHARED_SCHEMA    0x01000000  /* Ok for sqlite3_open_v2() */
====

Is this intentional ?

(2) By Richard Hipp (drh) on 2021-11-06 11:13:32 in reply to 1 [source]

No. Last night I mistakenly merged the reuse-schema branch into trunk when I had intended to merge trunk into the reuse-schema branch. That mistake has now been corrected.

We had not noticed the collision between the NOFOLLOW and SHARED_SCHEMA open flags. That will need to be addressed, but we'll do that on the branch.