#32686: Registry DB corrupted after selfupdate -----------------------------------+---------------------------------------- Reporter: falkschramm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by cal@…): Can you retry with r88888, please? Replying to [comment:15 stephen@…]:
What is the "manual upgrade" you mentioned in your email message?
You can run the queries needed to update your database manually. See base/src/cregistry/sql.c:update_db for the list of queries to run. Replying to [comment:16 jmr@…]:
That change will have made base unbuildable on Tiger IIRC. Looks like you could probably just #define sqlite3_prepare_v2 to sqlite3_prepare when SQLITE_VERSION_NUMBER is too old.
I couldn't find version information for the interfaces in the SQLite documentation. Do you happen to know when sqlite3_prepare_v2 was introduced? What version of SQLite shipped with Tiger? -- Ticket URL: <https://trac.macports.org/ticket/32686#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS