Ivan Ukhov
84064daa9d
Run rustfmt
2020-05-26 20:05:39 +02:00
Ivan Ukhov
d396509611
Merge branch 'smklein-leak'
2020-05-26 20:04:30 +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
2e280411b0
Merge pull request #21 from stainless-steel/connection-flags
...
Introduce connection flags
2019-06-10 20:29:58 +02: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
Ivan Ukhov
08c88ed4bf
Bump the version number
2019-06-08 18:46:03 +02:00
Ivan Ukhov
c35a986120
Update the authors list
2019-06-08 18:45:18 +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
eb7d46fb0c
Bump the version number
2019-05-22 11:51:27 +02:00
Ivan Ukhov
d9c9d6b3b6
Update the license
2019-05-22 11:51: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
f8f737bf2f
Add a failing test for reading columns with NULLs
2019-05-22 07:40:48 +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
0a6ed63a04
Make a cosmetic adjustment
2018-10-06 10:41:20 +02:00
Ivan Ukhov
cbc5544a3b
Make a cosmetic adjustment
2018-10-06 10:39:29 +02:00
Ivan Ukhov
928170fcb9
Clean up Travis’s configuration file
2018-10-06 10:34:04 +02:00
Ivan Ukhov
750e6e9014
Bump the version number
2018-10-06 10:32:43 +02:00
Ivan Ukhov
d0bc5c6ef4
Update the authors list
2018-10-06 10:32:38 +02:00
Ivan Ukhov
7dff6aaa97
Update the license
2018-10-06 10:32:21 +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
Ivan Ukhov
cf7a3d7500
Merge branch 'jaysonsantos-column-name'
2018-10-06 10:03:05 +02:00
Jayson Reis
4fa8989faa
Changes for core review
2018-07-10 21:32:29 +02:00
Jayson Reis
beda4c82c8
Change column_name to &str to avoid double allocation
2018-06-25 17:56:05 +02:00
Jayson Reis
fce61e13ad
Implement sqlite3_column_name and helper function to return column names
2018-06-22 15:39:52 +02:00
Ivan Ukhov
e0793a38a6
Run rustfmt (nightly)
2017-08-26 07:52:28 +02:00
Ivan Ukhov
7c5d11120a
Bump the version number
2017-08-24 10:26:06 +02:00
Ivan Ukhov
47e36dc392
Move the columns method of Cursor
2017-08-24 10:25:37 +02:00
Ivan Ukhov
3119f63fec
Add as_raw to Cursor
2017-08-24 10:24:54 +02:00
Ivan Ukhov
d1583158a3
Bump the version number
2017-08-23 10:18:54 +02:00
Ivan Ukhov
090deb80ac
Move a couple of functions
2017-08-23 10:18:50 +02:00
Ivan Ukhov
6c1ddbf184
Add as_raw to Connection and Statement
2017-08-23 10:13:59 +02:00
Ivan Ukhov
8b3e284771
Make a cosmetic adjustment
2017-08-23 10:13:05 +02:00
Ivan Ukhov
9aba31e37c
Adjust the formatting of the macros
2017-08-23 10:09:04 +02:00
Ivan Ukhov
742837660d
Bump the version number
2017-08-23 08:08:16 +02:00