191 Commits

Author SHA1 Message Date
vms
83a32e9046 add test, fix minor issues 2023-03-01 14:32:05 +03:00
vms
63e9952194 fix doubling line 2023-03-01 14:06:15 +03:00
vms
9afeecb514 fix function name 2023-03-01 14:03:28 +03:00
vms
36291cd6e8 expose heap limits as global functions 2023-03-01 14:02:25 +03:00
Mike Voronov
90237bd29f
feat!: support heap memory limit (#8)
* feat: support memory limit setting

* bump crate
2023-02-24 01:13:36 +03:00
raftedproc
5060bb6e8c
fix: extra tests and sqlite module bump to 0.17.1 [fixes VM-226] (#7) 2023-02-17 20:38:01 +03:00
vms
3431763954 fix snake case warnings 2021-11-01 12:35:20 +03:00
vms
b13d558ab5 Merge branch 'master' into optimize 2021-09-03 20:12:03 +03:00
vms
e054b689ad improve tests 2021-09-03 19:45:23 +03:00
vms
e4da5c0d4b remove externs 2021-09-03 18:08:45 +03:00
vms
b88cedea9d Optimize blob passing 2021-09-03 14:27:55 +03:00
Alexey Proshutinskiy
bd42e1b313 move to rust 2018 2021-09-02 19:20:43 +03:00
Alexey Proshutinskiy
414cff0779 update test 2021-09-02 15:02:39 +03:00
Alexey Proshutinskiy
9553388096 add test for bind binary not null constraint 2021-09-02 13:05:11 +03:00
vms
139ef7f601 move to marine_rs_sdk 2021-06-15 21:20:29 +03:00
vms
88bc1a5715 bump versions 2021-05-11 00:17:10 +03:00
vms
e46463da23 move to sdk 0.6.3 2021-05-10 18:07:01 +03:00
vms
458b27f0bb update fluence sdk 2020-11-08 22:10:31 +03:00
vms
378ea7c562 rename package 2020-09-17 21:31:43 +03:00
vms
394327642e make compatible with FCE 2020-09-17 21:19:03 +03:00
Ivan Ukhov
acc777028f Run rustfmt 2020-06-10 20:20:59 +02:00
Ivan Ukhov
661e469172 Adjust a few descriptions 2020-06-10 20:20:43 +02:00
Ivan Ukhov
4e3ffbd911 Merge branch 'changes' of https://github.com/17dec/sqlite into 17dec-changes 2020-06-10 20:14:47 +02:00
Yorhel
5fa6026100 Implement Readable for Option<T> 2020-06-10 15:11:27 +02:00
Yorhel
45ef564593 Expose sqlite3_changes() and sqlite3_total_changes() 2020-06-10 11:23:27 +02:00
Ivan Ukhov
adcff3b1d8 Merge branch 'bindable-option' of https://github.com/danieldulaney/sqlite into danieldulaney-bindable-option 2020-06-05 21:49:32 +02:00
Ivan Ukhov
fc2ea5aa19
Read the error message when sqlite3_open_v2 fails 2020-05-26 20:20:07 +02:00
Ivan Ukhov
84064daa9d
Run rustfmt 2020-05-26 20:05:39 +02:00
Sean Klein
42f9bbfe01 Avoid memory leak when failing to open connections 2020-05-25 10:58:46 -04:00
Sean Klein
22580234c1 Replace 'try' with '?' to clear warnings 2020-05-25 10:41:11 -04:00
Daniel Dulaney
7fbbb6438d Implement Bindable for Option<T>
Option<T> is generally used to represent either a T or a null value. In SQLite,
it makes sense to model this as either a regular T binding (when the option is
Some) or a regular NULL binding (when the option is None). This commit
implements Bindable for any Option<T> where T is already Bindable, allowing
those Options to be used directly with statements, filling in NULL where needed.

No new unsafe code is needed. Tests are included.
2019-09-23 00:01:25 -04:00
Ivan Ukhov
b9747f216d Adjust a few descriptions 2019-06-10 20:29:34 +02:00
Ivan Ukhov
64c2c7f2df Do not re-export open_with_flags 2019-06-09 07:35:27 +02:00
Ivan Ukhov
039bf4c67e Rename ConnectionFlags to OpenFlags 2019-06-09 07:16:00 +02:00
Ivan Ukhov
d1e9f8fd3e Test opening a read-only connection 2019-06-08 20:42:31 +02:00
Ivan Ukhov
9328fa0897 Add the two mutex-related flags 2019-06-08 20:26:20 +02:00
Ivan Ukhov
8e990ff3c6 Introduce connection flags 2019-06-08 19:50:28 +02:00
Ivan Ukhov
443aec74f1 Eliminate a deprecation warning 2019-06-08 18:48:58 +02:00
Sophie Tauchert
7a7ff8f80e Add function to open a read only connection 2019-06-08 18:44:01 +02:00
Ivan Ukhov
2464a91759 Make a cosmetic adjustment 2019-05-26 13:31:24 +02:00
Ivan Ukhov
a99dc3a21d Make a cosmetic adjustment 2019-05-22 11:48:34 +02:00
Ivan Ukhov
cc9bf983ac Simplify Cursor::next 2019-05-22 11:46:49 +02:00
Ivan Ukhov
fa17cd620e Adjust a description 2019-05-22 07:38:13 +02:00
Ivan Ukhov
ec7ce0c27c Simplify a few tests 2019-05-21 19:28:29 +02:00
Ivan Ukhov
4ddf77ec98 Add a few assertions 2018-10-06 10:30:41 +02:00
Ivan Ukhov
9ce913343c Adjust the assertions in name 2018-10-06 10:29:03 +02:00
Ivan Ukhov
c6e4800472 Run rustfmt 2018-10-06 10:15:38 +02:00
Ivan Ukhov
73fb4b7920 Make a cosmetic adjustment 2018-10-06 10:15:11 +02:00
Ivan Ukhov
8ddb310ed8 Rename columns to count 2018-10-06 10:13:23 +02:00
Ivan Ukhov
db5ceccf58 Rename column_name to name 2018-10-06 10:11:18 +02:00