Commit Graph
11 Commits
Author SHA1 Message Date
swiftlyfalling 901b7a0f12 Add support for SQLite Pre-Update Hooks (+ tests)
If SQLITE_ENABLE_PREUPDATE_HOOK is defined, and GRDB is built with a
custom SQLite library with the functionality (see: GRDBCustomSQLite),
enable support for SQLite Pre-Update Hooks and the new
`willChangeWithEvent` callback on TransactionObservers.
2016-06-01 20:42:21 -04: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é bc757016af Issue #61: Database.inSavepoint(named:) 2016-05-28 18:46:12 +02:00
Gwendal Roué 32cd559379 Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 15:57:32 +02:00
Gwendal Roué ad8551b746 Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 15:54:26 +02:00
Gwendal Roué a26bef8813 Issue #61: failing test for TransactionObserver with several identically named savepoints 2016-05-28 15:09:56 +02:00
Gwendal Roué 34dad07393 Issue #61: failing test for Database.isInsideTransaction after a SAVEPOINT statement 2016-05-28 15:03:02 +02:00
Gwendal Roué 5453aec1d0 Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 15:00:26 +02:00
Gwendal Roué 9b6b66d22d Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 14:25:39 +02:00
Gwendal Roué 83477c67d7 Issue #61: failing tests for TransactionObserver and savepoints 2016-05-28 13:59:15 +02:00
Gwendal Roué ac31392b90 Issue #61: test TransactionObserver with a simple savepoint 2016-05-28 13:42:48 +02:00