Merge pull request #1132 from groue/dev/sqlite-3.72.2

Bump custom SQLite builds v3.72.2
This commit is contained in:
Gwendal Roué authored and GitHub committed 2022-01-09 14:42:28 +01:00
commit 06a5d6f44b
5 files changed
+8 -4

No files matched your search

+1
View File
@@ -88,6 +88,7 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
- **New**: [#1075](https://github.com/groue/GRDB.swift/pull/1075) by [@mallman](https://github.com/mallman): Progress-reporting database backups
- **New**: [#1129](https://github.com/groue/GRDB.swift/pull/1129) by [@groue](https://github.com/groue): Detached columns
- **New**: [#1132](https://github.com/groue/GRDB.swift/pull/1132) by [@groue](https://github.com/groue): Bump custom SQLite builds v3.72.2
- **Fixed**: [#1120](https://github.com/groue/GRDB.swift/pull/1120) by [@jnross](https://github.com/jnross): Fix typos
- **Fixed**: [#1121](https://github.com/groue/GRDB.swift/pull/1121) by [@byohay](https://github.com/byohay): Quote PROJECT_DIR and SRCROOT environment variables
- **Fixed**: [#1128](https://github.com/groue/GRDB.swift/pull/1128) by [@groue](https://github.com/groue): Deal with authorization callbacks from cursors of FetchableRecord
+1 -1
View File
@@ -3,7 +3,7 @@ Custom SQLite Builds
By default, GRDB uses the version of SQLite that ships with the target operating system.
**You can build GRDB with a custom build of [SQLite 3.33.0](https://www.sqlite.org/changes.html).**
**You can build GRDB with a custom build of [SQLite 3.37.2](https://www.sqlite.org/changes.html).**
A custom SQLite build can activate extra SQLite features, and extra GRDB features as well, such as support for the [FTS5 full-text search engine](../../../#full-text-search), and [SQLite Pre-Update Hooks](../../../#support-for-sqlite-pre-update-hooks).
+3
View File
@@ -717,6 +717,9 @@ public struct ColumnInfo: FetchableRecord {
public let name: String
/// The column data type
///
/// The casing of this string depends on the SQLite version: make sure you
/// process this string in a case-insensitive way.
public let type: String
/// True if and only if the column is constrained to be not null.
+2 -2
View File
@@ -63,13 +63,13 @@ class ColumnInfoTests: GRDBTestCase {
XCTAssertEqual(columns[3].name, "d")
XCTAssertEqual(columns[3].isNotNull, false)
XCTAssertEqual(columns[3].type, "int")
XCTAssertEqual(columns[3].type.uppercased(), "INT") // "int" or "INT" depending of SQLite version
XCTAssertEqual(columns[3].primaryKeyIndex, 0)
XCTAssertEqual(columns[3].defaultValueSQL, "NULL")
XCTAssertEqual(columns[4].name, "e")
XCTAssertEqual(columns[4].isNotNull, true)
XCTAssertEqual(columns[4].type, "Text")
XCTAssertEqual(columns[4].type.uppercased(), "TEXT") // "Text" or "TEXT" depending of SQLite version
XCTAssertEqual(columns[4].primaryKeyIndex, 0)
XCTAssertEqual(columns[4].defaultValueSQL, "'foo'")