Understand automatically fixed migration changes
mainThe zombiezen-sqlite-migrate tool performs several mechanical transformations to preserve semantics while updating the API:
ErrorCodetoResultCode:crawshaw.io/sqlite.ErrorCodeis renamed tozombiezen.com/go/sqlite.ResultCodeto better reflect that these represent SQLite result codes.- Constant Renaming: Constants are converted from upper snake case with
SQLITE_prefixes (e.g.,sqlite.SQLITE_OK) to upper camel case with type prefixes (e.g.,sqlite.ResultOK). - Package Relocation:
sqlitex.Fileandsqlitex.Bufferare moved tozombiezen.com/go/sqlite/sqlitefile. - Session API: Various symbols in the session API are renamed for clarity.
- FS Method Renaming:
sqlitex.ExecFS,sqlitex.ExecTransientFS, andsqlitex.ExecScriptFSare renamed tosqlitex.ExecuteFS,sqlitex.ExecuteTransientFS, andsqlitex.ExecuteScriptFSrespectively.