gwenn
da94f8eba6
Make tests return Result
2020-11-05 22:14:00 +01:00
Thom Chiovoloni
22121772a2
Deprecate NO_PARAMS in favor of passing an empty array
2020-11-03 19:09:19 -08:00
gwenn
a4691db6d0
pragma_update fails with ExecuteReturnedResults
...
Ideally, while executing a batch, we should fail if it contains a SELECT
statement. But currently there is no way to make the distinction between
a SELECT and a PRAGMA which both updates and returns a row.
So we fail only when `extra_check` feature is activated.
2020-08-17 19:30:24 +02:00
gwenn
dd886578d2
Implement our own sqlite3_exec
...
Should fix issue related to unlock notify: #767
Caveat: many CString allocated.
2020-06-26 19:35:14 +02:00
gwenn
f37519ad51
Replace execute_batch usages by execute
...
Because execute_batch does not support unlock_notify
2020-06-25 09:45:49 -07:00
Thom Chiovoloni
c70d148542
Remove most of the code using feature=bundled
as a version check
2020-01-14 08:11:36 -08:00
gwenn
701389605d
Do not assume sqlite3_column_text
is valid UTF-8
...
Fix impact on features
2019-07-24 20:46:53 +02:00
gwenn
f0ae7b6e9b
Do not assume sqlite3_column_text
is valid UTF-8.
...
Fix Statement::value_ref
2019-07-24 20:08:31 +02:00
gwenn
59a44cfae5
Merge remote-tracking branch 'jgallagher/master' into fallible-iterator
2019-03-10 11:12:14 +01:00
gwenn
32881d7a76
Unify callback parameter signature
2019-02-21 21:14:55 +01:00
gwenn
fcaf5b9dd8
Fix typos
2019-02-21 18:55:51 +01:00
gwenn
364e885b89
Fix warning
2019-02-14 20:53:00 +01:00
gwenn
6ce5c9ddcc
Suggest users to use PRAGMA function instead
2019-02-14 20:24:16 +01:00
gwenn
9c00dd01a2
Draft to ease PRAGMA usage ( #273 and #265 )
2019-02-03 09:17:37 +01:00