Alex Golubov
f5d73f7c82
Reading multiple rows from sqlite and send to Erlang process in one bulk.
2018-07-05 22:55:10 +05:00
Alex Golubov
34b144eeea
Upgrade SQLite to 3.24.0.
2018-07-05 22:05:10 +05:00
Maas-Maarten Zeeman
ab0fb51306
Merge pull request #36 from scouten/sqlite-3.18.0
...
Upgrade SQLite to version 3.18.0.
2018-01-18 18:38:55 +01:00
Maas-Maarten Zeeman
f0f7f801c4
Merge pull request #37 from mmmries/fix_typespecs
...
fix type specs for the q/2 and q/3 functions
2018-01-18 18:37:49 +01:00
Maas-Maarten Zeeman
cbf3564b19
Merge pull request #35 from scouten/hex.pm
...
Add info about hex.pm releases
2018-01-18 18:36:52 +01:00
Michael Ries
869f08d36a
fix type specs for the q/2 and q/3 functions
2018-01-17 23:14:36 -07:00
Eric Scouten
6e0d8d42e3
Update tests to expect new version of SQLite.
2017-04-22 15:55:54 -07:00
Eric Scouten
6bb10f8939
Upgrade SQLite to 3.18.0.
2017-04-22 15:24:19 -07:00
Eric Scouten
5de69f3107
Back out whitespace changes to esqlite.app.src.
2017-03-21 08:52:50 -07:00
Eric Scouten
067166b965
Add a note about hex.pm releases.
2017-03-21 08:49:00 -07:00
Eric Scouten
a84f5178ed
Add license, maintainers, and links.
2017-03-21 08:49:00 -07:00
Eric Scouten
3ef85ef591
Ensure Makefile is included in package.
2017-03-21 08:49:00 -07:00
Eric Scouten
aaa6eb884a
version bump
2017-03-21 08:49:00 -07:00
Maas-Maarten Zeeman
c1ba116de4
Pass the statement to the command thread in an erlang term to prevent it from being destructed before it was processed
2017-03-01 23:25:45 +01:00
Maas-Maarten Zeeman
792921fbcc
Swapped malloc and free for enif_alloc and enif_free
2017-03-01 22:33:07 +01:00
Maas-Maarten Zeeman
bd6d4aaaa7
Added check to make sure sqlite is build in thread-safe mode
2017-03-01 11:17:12 +01:00
Maas-Maarten Zeeman
aefc294613
Removed unneeded if statements
2017-03-01 08:48:11 +01:00
Maas-Maarten Zeeman
d4969140bc
Cleaned up connection reference inside c-struct of statement
2017-02-28 23:38:14 +01:00
Maas-Maarten Zeeman
3f1ef40b90
Fix reference count to connection when a prepared statement is made
2017-02-26 14:55:47 +01:00
Maas-Maarten Zeeman
f6d0f8b3e9
Store the reference to the connection when prepare fails.
...
When the statement is destructed, the connection will be decreffed and also destructed.
2017-02-24 16:54:30 +01:00
Maas-Maarten Zeeman
fe80c2279b
Release the statement when prepare fails.
2017-02-24 16:42:07 +01:00
Maas-Maarten Zeeman
57e01c9968
Remove unneeded variable
2017-02-24 16:29:50 +01:00
Maas-Maarten Zeeman
dc294c0d25
Don't release the connection when prepare_v2 fails
2017-02-24 16:28:08 +01:00
Maas-Maarten Zeeman
785903ae6d
Keep a reference to the connection before the prepare statement is put on the command queue.
...
This should fix a race condition when a prepare is called right before the
db connection is garbage collected.
2017-02-22 22:03:26 +01:00
Maas-Maarten Zeeman
3d546ff8a4
Empty the command queue before destroying it. It could contain commands. Fixes a crash
2016-12-16 11:14:33 +01:00
Maas-Maarten Zeeman
a0c5b39ae1
Merge pull request #28 from project-fifo/master
...
rebar3 and SmartOS compatibility
2015-10-25 15:10:11 +01:00
Heinz N. Gies
69fe344610
Fix dialyzer warnings
2015-09-21 18:24:50 +02:00
Heinz N. Gies
16ffe88bbc
some update on versioning.
2015-08-07 00:34:15 +02:00
Heinz N. Gies
fb2a41b4da
some rebar3 compatibility
2015-08-07 00:23:50 +02:00
Heinz N. Gies
ba76609865
added soem rebar3 stuff
2015-08-07 00:07:12 +02:00
Maas-Maarten Zeeman
f7b151f64c
Merge pull request #27 from NineFX/bump-sqlite-version
...
Bump SQLite version
2015-08-02 17:01:36 +02:00
Maas-Maarten Zeeman
c295381715
Removed unneeded queue_send and made closing the db more robust. Does this fix #20 ?
2015-08-02 16:55:36 +02:00
Drew Varner
db9383cc30
Bump SQLite version
...
Bump SQLite to 3.8.11
2015-07-25 15:28:04 -04:00
Maas-Maarten Zeeman
584f76a67c
Merge pull request #17 from jazzyb/erlang18
...
compiles for OTP 18.0
2015-06-30 21:44:40 +02:00
jazzyb
5c5a4c199a
compiles for OTP 18.0
2015-06-29 18:56:55 -04:00
Maas-Maarten Zeeman
62122ec567
Merge pull request #16 from jazzyb/master
...
Fix for sqlite3_column_count() return check
2015-06-15 09:12:25 +02:00
jazzyb
0a073b18e9
fixes sqlite3_column_count() return check
...
sqlite3_column_count() may return 0 for SQL statements that do not return rows
from the database. This should not be treated as an error.
See: https://sqlite.org/c3ref/column_count.html
2015-04-16 22:29:50 -04:00
Maas-Maarten Zeeman
58e5e6ed55
Merge pull request #15 from jazzyb/master
...
fixes column types error
2015-03-01 19:21:59 +01:00
jazzyb
2a32ad90e6
fixes column types error
2015-02-28 11:10:18 -05:00
Maas-Maarten Zeeman
0492391175
Removed otp releases with known problems
2015-02-01 20:43:57 +01:00
Maas-Maarten Zeeman
233fb120c4
Fix OSX linking problem. Fixes #14
2015-02-01 20:38:42 +01:00
Maas-Maarten Zeeman
9bc0713f79
Better version check
2015-02-01 13:40:06 +01:00
Maas-Maarten Zeeman
d57be27947
Added commit
2015-02-01 10:15:11 +01:00
Maas-Maarten Zeeman
26f7261401
Bumped version number in test too
2015-02-01 10:06:48 +01:00
Maas-Maarten Zeeman
c6976193da
Updated sqlite to version 3.8.8.2
2015-02-01 09:54:21 +01:00
Maas-Maarten Zeeman
e30c8f0fe0
Merge pull request #13 from mmmries/column_types
...
get column types
2015-01-30 21:56:27 +01:00
Michael Ries
19080b849c
get column types
2015-01-30 09:24:00 -07:00
Maas-Maarten Zeeman
9967ced039
Merge pull request #11 from MSch/test-sqlite-version
...
Tests fail on OS X 10.9 because system sqlite3 is used
2014-08-31 10:46:49 +02:00
Martin Schürrer
1341f9dc03
Travis doesn't have R14B01.
2014-08-31 03:53:14 +02:00
Martin Schürrer
88f262a0b9
Add more OTP releases to travis build.
2014-08-31 03:50:02 +02:00