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é
bc512e775c
Issue #60 : make PrimaryKey public
2016-05-25 08:41:54 +02:00
Gwendal Roué
c1169f0d2c
Issue #51 : Restore statement caching, now that the database is closed in the correct queue.
2016-05-17 20:08:55 +02:00
Gwendal Roué
82fa559962
Issue #51 : sqlite3_close_v2() is not available until iOS 8.2 and OS X 10.10. Until then, use sqlite3_close(), and avoid caching statements. Disable the concurrency tests that check database deallocation while some statements are running.
2016-05-17 13:39:29 +02:00
Gwendal Roué
a54b0389ae
Remove sharing of cached statements between database pool readers
2016-05-07 13:17:45 +02:00
Gwendal Roué
4bcff181c7
Back to block-based database accesses.
...
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
2016-04-08 08:29:58 +02:00
Gwendal Roué
023d757964
Attempt to fix CocoaPods
2016-04-05 08:53:02 +02:00
Gwendal Roué
484d5a5968
Framework for GRDB+SQLCipher is named GRDBCipher
2016-04-03 21:30:22 +02:00
Gwendal Roué
e3d8c06ad0
Refactor tests so that DatabasePool can be configured at the target level. We are preparing tests for encrypted databases.
2016-04-03 16:55:04 +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é
3e0fcc4b87
New GRDBCipherOSX target + tests
2016-04-03 11:40:34 +02:00
Gwendal Roué
c6f96906ca
Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator).
2016-03-17 08:54:09 +01:00
Gwendal Roué
967b10311e
Cleanup tests
2016-03-13 17:41:38 +01:00
Gwendal Roué
84e5e488a9
DatabaseGenerator retain the database connection. Tests for various opportunities of memory leaking, and misuse of weak references.
2016-03-12 14:47:53 +01:00
Gwendal Roué
1df41fbd29
Tests for DatabaseQueue/Pool connection closing
2016-03-12 13:53:49 +01:00
Gwendal Roué
526e065e7d
Database schema cache tests for DatabasePool and DatabaseQueue
2016-03-09 18:15:18 +01:00
Gwendal Roué
1fee42bee9
Remove useless Statement.readOnly
2016-03-09 15:44:38 +01:00
Gwendal Roué
d18d2a5921
Statement.readOnly
2016-03-08 20:40:12 +01:00
Gwendal Roué
ff8b580d17
SelectStatement.sourceTables
2016-02-08 19:15:57 +01: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