On 01/31/2017 12:48 AM, Nir Paz wrote:
Hi All,
I get the next error: SQLITE_CANTOPEN when calling sqlite3_open_v2 with
filename exceeding 512 characters.
Linux doesn't have that limit, my thought is to change the define of
MAX_PATHNAME, is there a better option?
I don't think there is a better way to do that. Define MAX_PATHNAME to
something and see how it goes.
There is one very subtle problem that we know of:
http://www.sqlite.org/src/artifact/ff1232b3088a3?ln=2771-2775
This means that if database page size is smaller in bytes than the
filenames, you might find that following recovery from a crash or power
failure occurs during COMMIT of a multi-file transaction in rollback
mode a some of the databases written to have committed and some rolled
back the transaction. As can happen in wal mode.
Dan.
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users