Gwendal Roué
795daf284f
Remove performance database resources
2020-09-20 13:31:11 +02:00
Gwendal Roué
5050c36c4e
Fix wording of root key decoding error
2020-09-19 15:52:50 +02:00
Gwendal Roué
55c9e48a21
Failing test for #836
2020-09-19 15:50:07 +02:00
Gwendal Roué
bf1c025612
Failing test for #838
2020-09-19 13:11:30 +02:00
Gwendal Roué
18e09ec061
Configuration.prepareDatabase updates
2020-09-06 14:06:25 +02:00
Gwendal Roué
8e2fb1fb22
Update tests
2020-09-06 13:57:16 +02:00
Gwendal Roué
5820b30cc6
DatabaseError.description: output SQLite message before statement #820
2020-08-25 19:48:00 +02:00
Gwendal Roué
6ee7db48c8
Take care of indexes on expressions as well
...
sqlite> create table t(a,b);
sqlite> create index i on t(a like '%a', a, b);
sqlite> explain query plan select * from t where a like '%a';
QUERY PLAN
`--SCAN TABLE t
sqlite> explain query plan select * from t where a not like '%a';
QUERY PLAN
`--SCAN TABLE t
sqlite> explain query plan select * from t where (a like '%a') = 1;
QUERY PLAN
`--SEARCH TABLE t USING COVERING INDEX i (<expr>=?)
sqlite> explain query plan select * from t where (a like '%a') = 0;
QUERY PLAN
`--SEARCH TABLE t USING COVERING INDEX i (<expr>=?)
2020-07-26 16:04:02 +02:00
Gwendal Roué
454b9d5546
More tests for boolean tests
2020-07-26 14:19:46 +02:00
Gwendal Roué
bf1d6038e1
Failing tests for #816
2020-07-26 13:33:35 +02:00
Gwendal Roué
86b9616dd7
DatabasePool readers don't invalidate their database schema cache until schema is actually changed.
2020-07-25 18:20:43 +02:00
Gwendal Roué
845ae7e0e4
Merge pull request #814 from groue/dev/views
...
Fix regression with views
2020-07-23 18:59:16 +02:00
Gwendal Roué
a526351b4c
Failing test for #812
2020-07-23 08:31:53 +02:00
Gwendal Roué
e2816905bb
OSX 11 is OSX 10.16
2020-07-22 20:22:03 +02:00
Gwendal Roué
ee2d8eae50
Expose ascNullLast and descNullFirst
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:17:52 +02:00
Gwendal Roué
1823e11090
Expose remove_diacritics=2 option of unicode61 FTS5 tokenizer
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:07:27 +02:00
Gwendal Roué
294ed772c1
Expose remove_diacritics=2 option of unicode61 FTS tokenizer
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:07:27 +02:00
Gwendal Roué
62f33e1d55
Dictionary(grouping:by:) with Cursor
2020-07-22 08:39:45 +02:00
Gwendal Roué
70b70a069a
Fix typo
2020-07-19 09:54:39 +02:00
Gwendal Roué
f16dcc56ae
Add SQLLiteral.isEmpty
2020-07-19 09:41:45 +02:00
Gwendal Roué
4bf21cc5ce
Introduce RenameColumAdapter
2020-07-19 09:33:13 +02:00
Gwendal Roué
606cc2cb37
Give more time to SQLCipher4 Travis tests
2020-07-14 18:25:31 +02:00
Gwendal Roué
bed1f28b30
Give more time to SQLCipher4 Travis tests
2020-07-14 16:41:05 +02:00
Gwendal Roué
5c6130fbed
More Xcode 12 adaptation
2020-07-14 14:02:24 +02:00
Gwendal Roué
1729c0b967
Merge pull request #802 from GetToSet/development
...
Add tokenchars support for ascii tokenizer in FTS5.
2020-07-14 09:24:09 +02:00
Gwendal Roué
b02b995b76
Give more time to SQLCipher4 Travis tests
2020-07-13 20:15:27 +02:00
Gwendal Roué
07092169bf
Documentation
2020-07-12 14:17:58 +02:00
Bunny Wong
838a03c0ef
Added tests for ascii tokenizer.
2020-07-12 19:43:23 +08:00
Gwendal Roué
94d1134ec2
fetchSet
2020-07-12 10:49:47 +02:00
Gwendal Roué
a75a7b82ce
Work around an SQLite bug which prevents rollbacking a transaction with sqlite3_commit_hook
2020-07-11 19:47:12 +02:00
Gwendal Roué
002287ca28
Close FetchRequest, make it visitable
2020-07-11 17:30:11 +02:00
Gwendal Roué
229fb36074
Fix test
2020-07-05 16:23:19 +02:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
4c3029e5c1
Not a bug after all
...
But add comments, and an extra test for compound primary keys
2020-07-02 19:09:46 +02:00
Gwendal Roué
effdc8df6c
Remove a debugging print()
2020-07-02 08:31:25 +02:00
Gwendal Roué
97cb1d595e
Improve groupByPrimaryKey()
...
Using the rowID when possible yields better performance
2020-07-01 21:25:33 +02:00
Gwendal Roué
2201026ce8
Introduce FastPrimaryKeyExpression, drop SQLPrimaryKeyExpression
...
Also, don't let the user access this expression, so that he does not attempt at decoding it. Its only purpose is to generate efficient SQL.
2020-07-01 20:40:11 +02:00
Gwendal Roué
138cc752a6
Remove FetchedRecordsController
2020-06-29 18:29:29 +02:00
Gwendal Roué
2a640823c7
Backport https://github.com/groue/GRDBCombine/pull/42
2020-06-28 22:50:37 +02:00
Gwendal Roué
9e77083d40
Relax profiling test
2020-06-28 21:53:34 +02:00
Gwendal Roué
0fe7b2985b
Cleanup SQLCipher test projects
2020-06-25 22:53:09 +02:00
Gwendal Roué
9b24c8213e
Skip unavailable tests
2020-06-25 22:16:51 +02:00
Gwendal Roué
a193ac1474
Documentation for Combine support
2020-06-25 21:24:17 +02:00
Gwendal Roué
f27a297e95
Run GRDBCombine tests
2020-06-25 20:08:11 +02:00
Gwendal Roué
11fcb4c749
Embed GRDBCombine tests
2020-06-25 19:25:30 +02:00
Gwendal Roué
22bb800f2e
Embed CombineExpectations
2020-06-25 19:25:30 +02:00
Gwendal Roué
994893951d
Temporary disable savepoint tests
2020-06-25 18:52:15 +02:00
Gwendal Roué
4573e80e1c
#file vs. #filePath dance
2020-06-25 18:49:58 +02:00
Gwendal Roué
4cdb71bfda
Thread-safe SQLite error logging
2020-06-25 08:32:07 +02:00
Gwendal Roué
7820b59996
Fix Swift 5.3 warnings
2020-06-25 08:27:57 +02:00