Commit Graph
16 Commits
Author SHA1 Message Date
Gwendal Roué 7404c642e3 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/Record/Persistable.swift
	GRDB/Record/Record.swift
	README.md
	Tests/Private/DatabasePoolSchemaCacheTests.swift
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
	Tests/Public/Record/RecordSubClassTests.swift
2016-07-30 12:58:10 +02:00
Gwendal Roué b16656bd23 Partial update WIP: cache & column case insensitivity 2016-07-28 19:28:46 +02:00
Gwendal Roué b24075ca1c Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/Core/Utils.swift
	GRDB/Record/TableMapping.swift
	README.md
	Tests/Private/DatabasePoolSchemaCacheTests.swift
	Tests/Public/Encryption/EncryptionTests.swift
	Tests/Public/Record/PrimaryKeyNoneTests.swift
2016-07-07 08:41:17 +02:00
Gwendal Roué d35b65c9d2 #56: cleanup
- Dabase.indexes(tableName) returns actual indexes (no more fake index on INTEGER PRIMARY KEY column)
- Database.colums(_:uniquelyIdentifyRowsIn:) checks indexes, and primary key
- DatabaseSchemaCache caches table indexes (with invalidation on CREATE/DROP INDEX statements)
2016-07-06 19:09:25 +02:00
Gwendal Roué 42885a3df0 Xcode 8 WIP 2016-06-14 19:14:10 +02:00
Gwendal Roué f45b9a3757 Xcode 8 WIP 2016-06-14 13:45:08 +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é 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é 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é 526e065e7d Database schema cache tests for DatabasePool and DatabaseQueue 2016-03-09 18:15:18 +01:00