Hi, I'm trying to implement read-only access to sqlite database saved in the Windows RC_DATA resouce (of the same exe file). There are different additional files involved when the db is writable (-journal for example), but it looks like one can have no special knowledge about them since there is a flag in xOpen allowing to detect the main db. But notable exception is xAccess. I can not see from the parameters whether this checking is about main db or journal file. If I return ok for SQLITE_ACCESS_EXISTS, sqlite goes wrong way with assuming the journal exists (at least different calls lead to "unable to open" error). But also the debugging shows that xAccess never checks for the main file existence, only supplemental ones. Can I rely on that and return FALSE unconditionally? Currently it works, but it might give a new failure in the future.
Thanks Max Vlasov _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

