(i hope i'm not flooding the list too much with v4. If this should move to
the dev list or gmail, just point me in the right direction.)
i found that there is no open_v2() in v4, and the signature has changed a
small amount. My code used to look like:
rc = flags
? sqlite3_open_v2( nameBuf, &drv->db, flags, NULL )
: sqlite3_open( nameBuf, &drv->db );
but now looks like:
rc = sqlite4_open( NULL, nameBuf, &drv->db, /*flags, */0 );
note the commented-out "flags" value (which is optionally set to 0 or some
value suitable for open_v2(), e.g. SQLITE_OPEN_READWRITE and friends.
Is un-commenting that the proper way to use the flags now? It wasn't clear
to me from the docs in sqlite4.h.
If that's not correct, how do we now (or can we at all) apply
SQLITE_OPEN_xxx?
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users