sqlite3_open, when opened read/write, returns an OK. Setting pragma's right after the open works fine. And actually I do it with a sqlite3_prepare_v2!
I will try opening ReadOnly and doing a simple select. Also checking the recutrn code on a close. Simon Slavin-3 wrote: > > Are you checking the result code returned by the _open() routine ? > > If you _open() with the flag SQLITE_OPEN_READONLY, do you get an error ? > > If you open it and close it, does the _close() routine return an error ? > > If you open it, and use _exec() to do something harmless like "PRAGMA > encoding" do you get an error returned ? > > Simon. > -- View this message in context: http://old.nabble.com/Embedded-platform%2C-problem-upgrading-from-3.6.20-to-3.7.11-tp33686486p33687969.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users