On 5 October 2015 at 10:48, Jacob <jacobusbogers at gmail.com> wrote: > Hi John, > > I have tried to create an in memory database according to the > documentation on this link > https://www.sqlite.org/inmemorydb.html > > The documentation lists: (C code) > > rc = sqlite3_open("file:memdb1?mode=memory&cache=shared", &db); > > It creates a file on disk.... this is not supposed to happen. > > I compiled with version 3.8.11 , i checked (see c-code below) that i > used the correct include file and library
Was the library compiled with "SQLITE_USE_URI=1"? (See "Backwards Compatibility" in https://www.sqlite.org/uri.html) Regards, Simon