I've tracked down the difference in behavior (between former sqlite
and modern sqlite) to this #if which disappeared in the current version
of sqlite.
aMap[] = {
{ "hfs", &posixIoMethods },
{ "ufs", &posixIoMethods },
{ "afpfs", &afpIoMethods },
#ifdef SQLITE_ENABLE_AFP_LOCKING_SMB
{ "smbfs", &afpIoMethods },
#else
{ "smbfs", &flockIoMethods },
#endif
{ "webdav", &nolockIoMethods },
{ 0, 0 }
};
This undocumented conditional is now gone; the table looks like this:
aMap[] = {
{ "hfs", &posixIoMethods },
{ "ufs", &posixIoMethods },
{ "afpfs", &afpIoMethods },
{ "smbfs", &afpIoMethods },
{ "webdav", &nolockIoMethods },
{ 0, 0 }
};
and, interestingly, the flockIoMethods are effectively gone from
sqlite, as this was the only reference to them.
To put this back into context from my earlier messages, the
afpIOMehtod of locking does not work in OSX 10.4 (it works
in the current OSX version 10.6).
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users