Background: I am trying to test whole-file locking with SQLite on OpenAFS, since the *nix OpenAFS clients do not yet support byte-range locking. I am using Solaris 10.
I was originally using SQLite 3.3.7, since this is what is bundled with PHP 5.2. This SQLite version had the ability to set a fixed locking style at compile-time (with SQLITE_FIXED_LOCKING_STYLE). I set this option to flockLockingStyle, and it appeared to work on AFS read-write volumes. However, whenever I opened SQLite files on AFS read-only volumes, PHP would hang... even if the SQL operations were read-only (SELECTs). To narrow down the cause of the problem, I want to build SQLite apart from PHP. However, SQLite commit f70d552bcd removed the SQLITE_FIXED_LOCKING_STYLE option. How can I build newer versions of SQLite to always use whole-file locking? - Ken _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users