What's New
Patch SQLite to silence spurious C warnings and fix data race in sqlite3_last_insert_rowid()
2023-03-23T11:06:22Z
This patch was authored and released by @gwynne.
The patch is automatically applied when updating SQLite and is carefully designed to be as minimal as possible.
Description
- Swift Tools 5.5.0
Description
{ "name": "sqlite-nio", "path": "/usr/src/package", "targets": [ { "name": "SQLiteNIOTests", "path": "Tests/SQLiteNIOTests", "type": "test", "c99name": "SQLiteNIOTests", "sources": [ "SQLiteCustomFunctionTests.swift", "SQLiteNIOTests.swift" ], "module_type": "SwiftTarget", "target_dependencies": [ "SQLiteNIO" ] }, { "name": "SQLiteNIO", "path": "Sources/SQLiteNIO", "type": "library", "c99name": "SQLiteNIO", "sources": [ "Exports.swift", "SQLiteConnection.swift", "SQLiteCustomFunction.swift", "SQLiteData.swift", "SQLiteDataConvertible.swift", "SQLiteDataType.swift", "SQLiteError.swift", "SQLiteRow.swift", "SQLiteStatement.swift" ], "module_type": "SwiftTarget", "product_memberships": [ "SQLiteNIO" ], "target_dependencies": [ "CSQLite" ], "product_dependencies": [ "Logging", "NIO" ] }, { "name": "CSQLite", "path": "Sources/CSQLite", "type": "library", "c99name": "CSQLite", "sources": [ "sqlite3.c" ], "module_type": "ClangTarget", "product_memberships": [ "SQLiteNIO" ] } ], "products": [ { "name": "SQLiteNIO", "type": { "library": [ "automatic" ] }, "targets": [ "SQLiteNIO" ] } ], "platforms": [ { "name": "macos", "version": "10.15" }, { "name": "ios", "version": "13.0" } ], "dependencies": [ { "url": "https://github.com/apple/swift-nio.git", "type": "sourceControl", "identity": "swift-nio", "requirement": { "range": [ { "lower_bound": "2.42.0", "upper_bound": "3.0.0" } ] } }, { "url": "https://github.com/apple/swift-log.git", "type": "sourceControl", "identity": "swift-log", "requirement": { "range": [ { "lower_bound": "1.0.0", "upper_bound": "2.0.0" } ] } } ], "tools_version": "5.5", "manifest_display_name": "sqlite-nio" }
Package Dump
{ "name": "sqlite-nio", "targets": [ { "name": "SQLiteNIO", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "target": [ "CSQLite", null ] }, { "product": [ "Logging", "swift-log", null ] }, { "product": [ "NIO", "swift-nio", null ] } ] }, { "name": "SQLiteNIOTests", "type": "test", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "SQLiteNIO", null ] } ] }, { "name": "CSQLite", "type": "regular", "exclude": [], "settings": [ { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_COLUMN_METADATA" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_DBSTAT_VTAB" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_FTS3" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_FTS3_PARENTHESIS" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_FTS3_TOKENIZER" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_FTS4" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_FTS5" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_JSON1" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_PREUPDATE_HOOK" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_RTREE" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_SESSION" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_STMTVTAB" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_UNLOCK_NOTIFY" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_ENABLE_UPDATE_DELETE_LIMIT" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_HAVE_ISNAN" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_LIKE_DOESNT_MATCH_BLOBS" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_OMIT_LOAD_EXTENSION" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_OMIT_LOOKASIDE" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_SECURE_DELETE" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_SYSTEM_MALLOC" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_THREADSAFE=2" ] }, { "name": "define", "tool": "c", "value": [ "SQLITE_USE_URI" ] } ], "resources": [], "dependencies": [] } ], "products": [ { "name": "SQLiteNIO", "type": { "library": [ "automatic" ] }, "targets": [ "SQLiteNIO" ] } ], "pkgConfig": null, "platforms": [ { "options": [], "version": "10.15", "platformName": "macos" }, { "options": [], "version": "13.0", "platformName": "ios" } ], "providers": null, "packageKind": { "root": [ "/usr/src/package" ] }, "dependencies": [ { "sourceControl": [ { "identity": "swift-nio", "location": { "remote": [ "https://github.com/apple/swift-nio.git" ] }, "requirement": { "range": [ { "lowerBound": "2.42.0", "upperBound": "3.0.0" } ] }, "productFilter": null } ] }, { "sourceControl": [ { "identity": "swift-log", "location": { "remote": [ "https://github.com/apple/swift-log.git" ] }, "requirement": { "range": [ { "lowerBound": "1.0.0", "upperBound": "2.0.0" } ] }, "productFilter": null } ] } ], "toolsVersion": { "_version": "5.5.0" }, "cLanguageStandard": null, "cxxLanguageStandard": null, "swiftLanguageVersions": null }
Dependencies
Dependencies
{ "url": "/usr/src/package", "name": "sqlite-nio", "path": "/usr/src/package", "version": "unspecified", "identity": "package", "dependencies": [ { "url": "https://github.com/apple/swift-nio.git", "name": "swift-nio", "path": "/usr/src/package/.build/checkouts/swift-nio", "version": "2.49.0", "identity": "swift-nio", "dependencies": [ { "url": "https://github.com/apple/swift-atomics.git", "name": "swift-atomics", "path": "/usr/src/package/.build/checkouts/swift-atomics", "version": "1.0.3", "identity": "swift-atomics", "dependencies": [] }, { "url": "https://github.com/apple/swift-collections.git", "name": "swift-collections", "path": "/usr/src/package/.build/checkouts/swift-collections", "version": "1.0.4", "identity": "swift-collections", "dependencies": [] } ] }, { "url": "https://github.com/apple/swift-log.git", "name": "swift-log", "path": "/usr/src/package/.build/checkouts/swift-log", "version": "1.5.2", "identity": "swift-log", "dependencies": [] } ] }