Commit Graph

2262 Commits

Author SHA1 Message Date
gwenn
f78ac1f2cf Do not assume sqlite3_column_text is valid UTF-8.
Fix Statement::value_ref
2019-07-22 21:07:53 +02:00
gwenn
b7882380b2
Merge pull request #546 from gwenn/vtab_send
Make `Module` impl `Send`
2019-07-12 18:48:00 +02:00
gwenn
30b41bed20 Make Module impl Send
Also introduce a dedicated feature for series virtual table.
2019-07-11 19:21:54 +02:00
gwenn
547fb031ff
Merge pull request #545 from jgallagher/3.29
Upgrade bundled SQLite version to 3.29
2019-07-11 18:44:33 +02:00
gwenn
be12a78e60 Upgrade bundled SQLite version to 3.29 2019-07-11 16:27:07 +00:00
gwenn
484eb8b25d
Merge pull request #544 from gwenn/warnings
Clippy: fix warnings
2019-07-10 21:29:38 +02:00
gwenn
208f3c084b Clippy: fix warnings 2019-07-10 21:10:12 +02:00
gwenn
94d378692e
Merge pull request #542 from gwenn/bindgen
Upgrade bindgen to 0.50
2019-07-04 18:06:30 +02:00
gwenn
8070f3cbe6 Remove bindgen defaut features 2019-07-03 21:12:47 +02:00
gwenn
54ccb0d026 Upgrade bindgen to 0.50 2019-07-03 21:06:22 +02:00
gwenn
a52eeb2565 [ci skip] Prepare release 0.19
rusqlite 0.19.0
And libsqlite3-sys 0.15.0
2019-06-26 18:13:41 +02:00
Thom Chiovoloni
3aca84c67d
Merge pull request #541 from thomcc/include-column-name-in-type-error
Include the name of the column in InvalidColumnType errors
2019-06-25 18:08:05 -07:00
gwenn
ef036e383c
Merge pull request #539 from gwenn/window-func
Add binding to `sqlite3_create_window_function`
2019-06-25 21:40:21 +02:00
Thom Chiovoloni
4356f5a176 Include the name of the column in InvalidColumnType errors 2019-06-25 12:20:11 -07:00
gwenn
092993b72a Fix travis script 2019-06-25 21:15:16 +02:00
gwenn
c275cd29e0 Fix tests 2019-06-25 20:47:32 +02:00
gwenn
be184fb0cc
Merge pull request #540 from gwenn/fmt
[ci skip] rustftmt
2019-06-25 20:41:56 +02:00
gwenn
b9a4628b47 [ci skip] rustftmt 2019-06-25 20:40:28 +02:00
gwenn
f1198dd9ff Add binding to sqlite3_create_window_function 2019-06-25 20:33:49 +02:00
gwenn
454899f612
Merge pull request #538 from gwenn/open-file-example
rustdoc: example for Connection::open file
2019-06-24 20:39:46 +02:00
gwenn
147168184f rustdoc: example for Connection::open file 2019-06-24 20:05:36 +02:00
gwenn
b632c0f8be
Merge pull request #537 from kpcyrd/bundled-windows
Add bundled-windows feature
2019-06-21 18:03:04 +02:00
kpcyrd
73f1ef817f Add bundled-windows feature 2019-06-21 06:43:39 +02:00
gwenn
f14b61d8e8
Merge pull request #535 from gwenn/collation
Add binding to `sqlite3_collation_needed`
2019-06-18 20:43:23 +02:00
gwenn
f6199df9f9 Add binding to sqlite3_collation_needed 2019-06-18 19:03:13 +02:00
gwenn
4988715932
Merge pull request #534 from gwenn/collation
Add binding to `sqlite3_create_collation_v2`
2019-06-17 19:38:48 +02:00
gwenn
bb7ae7f215 Add binding to sqlite3_create_collation_v2 2019-06-17 19:20:53 +02:00
Joshua C. Randall
1ae02726cf add ability to open with specified vfs 2019-06-17 10:42:54 +01:00
gwenn
6e7d94dffd
Merge pull request #530 from gwenn/query_row_named
Add query_row_named for prepared statement.
2019-06-12 21:20:36 +02:00
gwenn
031bffffa5 Add query_row_named for prepared statement. 2019-06-12 19:18:57 +02:00
gwenn
ec319b32bb
Merge pull request #526 from gwenn/fix-nightly-build
Fix nightly build
2019-06-02 09:28:34 +02:00
gwenn
62f2dcdfa4
Merge pull request #527 from gwenn/fmt
[ci skip] rustfmt
2019-06-02 09:13:52 +02:00
gwenn
db74fda4d8 [ci skip] rustfmt 2019-06-02 09:12:51 +02:00
gwenn
d1cc5e9658
Merge pull request #525 from gwenn/warning
Fix warning: the item `X` is imported redundantly
2019-06-02 09:08:31 +02:00
gwenn
bb70718ca1 Fix nightly build
error[E0277]: the type
`std::cell::UnsafeCell<std::option::Option<std::boxed::Box<std::cell::RefCell<regex::exec::ProgramCacheInner>>>>`
may contain interior mutability and a reference may not be safely
transferrable across a catch_unwind boundary
2019-06-02 09:04:47 +02:00
gwenn
93b5c10816 Fix warning: the item X is imported redundantly 2019-06-02 08:36:16 +02:00
gwenn
c87c49cd35
Merge pull request #522 from pimeys/master
Increase bundled SQLite variables and depth
2019-05-15 21:13:46 +02:00
Julius de Bruijn
bf0eea5d60 Rerun build if max vars or exprs change in the env 2019-05-15 20:23:20 +02:00
Julius de Bruijn
d034cd56b7 Get MAX_VARIABLE_NUMBER and EXPR_DEPTH as env variables 2019-05-15 18:41:23 +02:00
Julius de Bruijn
4b9295c186 Increase bundled SQLite variables and depth
We've been hitting the default `MAX_VARIABLE_NUMBER` and
`MAX_EXPR_DEPTH` with quite basic tests here in Prisma. I was able to
run the tests by using the Arch Linux packaged libsqlite3, but when
turning on the bundled version I was able to get my test to crash with
this test project:

https://github.com/pimeys/sqlite_parameter_test

Now taking a look how Arch Linux builds sqlite, I was able to find two
flags fixing the issue:

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/sqlite#n35

I think it would be safe to include them in rusqlite.
2019-05-15 10:33:22 +02:00
gwenn
dfa937934d
Merge pull request #520 from gwenn/fix-doc
[ci skip] Fix rustdoc
2019-05-11 13:07:08 +02:00
gwenn
860cf69660 [ci skip] Fix rustdoc
"impl ToSql for NaiveDateTime" documentation is slightly inconsistent
with behavior #519
2019-05-11 13:05:15 +02:00
gwenn
584d94dcf6
Merge pull request #515 from derekdreery/patch-1
Fix error when building with `uuid` and `functions` features.
2019-04-28 12:41:10 +02:00
Richard Dodd (dodj)
0cdde751a6
Add uuid feature to some tests in travis 2019-04-27 09:50:28 +01:00
Richard Dodd
6c837a3f51 Fix other failing case 2019-04-26 15:30:49 +01:00
Richard Dodd (dodj)
5430715982
Fix error when building with uuid and functions features. 2019-04-26 15:15:07 +01:00
gwenn
6ba8934cba
Merge pull request #513 from gwenn/3.28
Upgrade bundled SQLite sources to 3.28.0
2019-04-25 19:15:47 +02:00
gwenn
13ee12cb0c Upgrade bundled SQLite sources to 3.28.0
Also upgrade bindgen to 0.49
2019-04-25 18:50:21 +02:00
gwenn
9b78f6e3f7 Prepare 0.18.0 release 2019-04-24 18:07:04 +02:00
gwenn
c0e6a584ad Prepare 0.14.0 release 2019-04-24 18:03:11 +02:00