Commit Graph
15 Commits
Author SHA1 Message Date
Gwendal Roué 0f34ee7d16 Revert "DatabaseError.code is now Database.ResultCode"
This reverts commit 968942f128.
2016-12-29 13:32:29 +01:00
Gwendal Roué 968942f128 DatabaseError.code is now Database.ResultCode 2016-12-28 11:55:47 +01:00
Gwendal Roué 3c822399b1 Restore DatabaseValue.description into its previous behavior, and test that \n or \t are described as "\\n" and "\\t" (avoid multi-line DatabaseValue description) 2016-10-08 14:38:30 +02:00
Gwendal Roué 0da1a293e6 Update tests for error descriptions that include argument literals, since DatabaseValue.description now returns the SQL literal representation of the value 2016-10-08 12:17:49 +02:00
Gwendal Roué e785085d0d Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows. 2016-06-30 18:38:16 +02:00
Gwendal Roué 88c284dbf1 Merge branch 'master' into Swift3bis
Conflicts:
	GRDB/Core/Database.swift
	GRDB/FetchRequest/QueryInterfaceRequest.swift
	GRDB/FetchRequest/SQLCollation.swift
	GRDB/FetchRequest/SQLFunction.swift
	GRDB/FetchRequest/SQLOperator.swift
	GRDB/FetchRequest/SQLSelectQuery.swift
	README.md
2016-06-02 20:47:04 +02:00
Gwendal Roué 7c4ff7677d swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a 2016-06-02 08:38:15 +02:00
swiftlyfalling 30bc7e4f6c Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
Gwendal Roué 4581850b05 Issue #61: since savepoint names can be reused and nested, there is no purpose forcing the user to name them: use a single default savepoint name. And provide thorough testing. 2016-05-28 18:57:07 +02:00
Gwendal Roué bc757016af Issue #61: Database.inSavepoint(named:) 2016-05-28 18:46:12 +02:00
Gwendal Roué c34d64b3bb DatabaseErrorTests: accept various error messages from various SQLite versions 2016-05-17 19:43:07 +02:00
Gwendal Roué 8934596527 DatabaseErrorTests: accept various error messages from various SQLite versions 2016-05-17 19:40:47 +02:00
Gwendal Roué 484d5a5968 Framework for GRDB+SQLCipher is named GRDBCipher 2016-04-03 21:30:22 +02:00
Gwendal Roué 7e3563f64b Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases. 2016-04-03 16:20:45 +02:00
Gwendal Roué f44ae2848f Project organization
Project organization

README.md

WIP QueryBuilder documentation

README.md

WIP QueryBuilder documentation

WIP QueryBuilder documentation

TODO.md
2016-01-28 08:43:25 +01:00