Gwendal Roué
|
2a6fbe6053
|
Experiment with unsafe but fast rows
|
2015-09-15 20:38:14 +02:00 |
|
Gwendal Roué
|
85a8819d9c
|
Default to IMMEDIATE transactions.
This avoid select statements to crash by default when there is a concurrent write.
|
2015-09-13 19:34:13 +02:00 |
|
Gwendal Roué
|
15600b7268
|
Documentation: remove warnings about Database extraction out of DatabaseQueue, since Database will vigorously crash as soon as it is badly used.
|
2015-09-13 17:37:02 +02:00 |
|
Gwendal Roué
|
facb6a53a9
|
Support for Busy handlers and timeout.
|
2015-09-13 15:20:53 +02:00 |
|
Gwendal Roué
|
9e0a05c810
|
Transactions documentation
|
2015-09-13 13:45:41 +02:00 |
|
Gwendal Roué
|
a6916ade9b
|
Configuration.transactionType
|
2015-09-12 18:47:04 +02:00 |
|
Gwendal Roué
|
9a2c1c1946
|
Fix wrong documentation about reentrancy.
|
2015-09-12 16:04:06 +02:00 |
|
Gwendal Roué
|
75bb735e98
|
Use fatalError() instead of precondition() so that safety checks survive Release configuration.
|
2015-09-12 14:36:06 +02:00 |
|
Gwendal Roué
|
4cbac39dfc
|
Use precondition() instead of assert() so that safety checks survive Release configuration.
|
2015-09-12 14:24:21 +02:00 |
|
Gwendal Roué
|
ac7db33b61
|
Refactor concurrency safety checks
|
2015-09-12 14:21:46 +02:00 |
|
Gwendal Roué
|
c09d5130fb
|
Document why reentrancy is not supported.
|
2015-09-12 13:29:45 +02:00 |
|
Gwendal Roué
|
2fee6799d0
|
DatabaseQueue.inTransaction() and DatabaseQueue.inDatabase() are no longer reentrant, since we don’t (yet?) implement it in a robust way.
|
2015-09-12 13:22:01 +02:00 |
|
Gwendal Roué
|
1841e2f6e1
|
Document that Database object must not be extracted out of DatabaseQueue.inTransaction and DatabaseQueue.inDatabase closures.
|
2015-09-12 10:41:30 +02:00 |
|
Gwendal Roué
|
17c81871db
|
Improve robustness of transaction error handling
|
2015-09-12 08:45:11 +02:00 |
|
Gwendal Roué
|
8bc7dbe273
|
Tests for SQLITE_BUSY
|
2015-09-12 08:22:12 +02:00 |
|
Gwendal Roué
|
a5b542902d
|
Document that sequences (of rows, values or records) are affected by database changes.
|
2015-09-12 07:36:38 +02:00 |
|
Gwendal Roué
|
70c65f436d
|
DatabaseQueue documentation: explain why we use a serial queue.
|
2015-09-12 07:35:24 +02:00 |
|
Gwendal Roué
|
214c9d30cd
|
Database.updateStatement() is no longer a throwing method.
|
2015-09-11 18:33:58 +02:00 |
|
Gwendal Roué
|
4f07acd0a0
|
Record.awakeFromFetch()
|
2015-09-10 22:01:59 +02:00 |
|
Gwendal Roué
|
41d210f7b7
|
Row[] and Row.value(named:) are case-insensitive.
|
2015-09-10 08:19:50 +02:00 |
|
Gwendal Roué
|
d4fc9dfe44
|
Database.columnInfosForTable(named:)
|
2015-09-10 07:58:30 +02:00 |
|
Gwendal Roué
|
6239955e08
|
Replace fatalError() with assert() when possible
|
2015-09-09 13:26:57 +02:00 |
|
Gwendal Roué
|
9ef40dcb4f
|
SQLite error management cleanup
|
2015-09-09 13:11:48 +02:00 |
|
Gwendal Roué
|
d19e813e54
|
Row cleanup
|
2015-09-09 13:07:30 +02:00 |
|
Gwendal Roué
|
5906469826
|
Rename RowModel to Record
|
2015-09-09 09:56:28 +02:00 |
|
Gwendal Roué
|
13906b0ceb
|
Documentation
|
2015-09-09 09:06:46 +02:00 |
|
Gwendal Roué
|
557d4871d0
|
Crash tests
|
2015-09-09 08:38:59 +02:00 |
|
Gwendal Roué
|
4e08f6ed1b
|
Crash tests
|
2015-09-09 06:46:10 +02:00 |
|
Gwendal Roué
|
53a825fb55
|
Reentrancy documentation and cleanup
|
2015-09-09 06:02:23 +02:00 |
|
Gwendal Roué
|
2bbc6152ff
|
DatabaseQueue.inDatabase and DatabaseQueue.inTransaction are now reentrant. Transactions can not be nested, though.
|
2015-09-08 23:10:29 +02:00 |
|
Gwendal Roué
|
110a8e28a8
|
Documentation
|
2015-09-08 22:33:28 +02:00 |
|
Gwendal Roué
|
13f38a9823
|
Improve fetch() methods
|
2015-09-08 18:12:57 +02:00 |
|
Gwendal Roué
|
8f26c44837
|
Documentation
|
2015-09-06 18:42:18 +02:00 |
|
Gwendal Roué
|
7490f500ad
|
Documentation
|
2015-09-06 18:16:28 +02:00 |
|
Gwendal Roué
|
ce5e141de2
|
Blob documentation
|
2015-09-06 17:06:24 +02:00 |
|
Gwendal Roué
|
862ac11d94
|
Extract Foundation
|
2015-09-06 16:55:38 +02:00 |
|
Gwendal Roué
|
6c4794f02c
|
DatabaseValueConvertible redesign, and project reorganization
|
2015-09-06 15:23:02 +02:00 |
|