Maas-Maarten Zeeman
|
51ea6d29be
|
Removed unused stuff
|
2022-05-28 14:28:58 +02:00 |
|
Maas-Maarten Zeeman
|
e03deba3ca
|
Added a test for interrupt
|
2022-05-26 21:00:17 +02:00 |
|
Maas-Maarten Zeeman
|
55303c13f4
|
Added dirty versions of the backup api
|
2022-05-26 16:59:10 +02:00 |
|
Maas-Maarten Zeeman
|
507e5407d8
|
The bind test now works again
|
2022-05-24 23:46:31 +02:00 |
|
Maas-Maarten Zeeman
|
20ad5138a1
|
Re-added higher level api
|
2022-05-23 22:39:19 +02:00 |
|
Maas-Maarten Zeeman
|
2f3eecdfe5
|
Added calls to get status information from sqlite
|
2022-05-23 10:43:45 +02:00 |
|
Maas-Maarten Zeeman
|
f660d05cc2
|
Removed error code retrieval from the c code. Will be moved to erlang
|
2022-05-22 22:28:28 +02:00 |
|
Maas-Maarten Zeeman
|
135715bf0a
|
Added extra function to return a map with error information
|
2022-05-22 22:19:30 +02:00 |
|
Maas-Maarten Zeeman
|
71ab29c724
|
Removed commented out code
|
2022-05-22 16:57:01 +02:00 |
|
Maas-Maarten Zeeman
|
c5f33d31bd
|
Added bind blob & text
|
2022-05-22 16:54:21 +02:00 |
|
Maas-Maarten Zeeman
|
8aae31abda
|
Added update hook
|
2022-05-22 13:07:57 +02:00 |
|
Maas-Maarten Zeeman
|
cc76b4319f
|
Fixed returning ok and errors for prepare and exec
|
2022-05-21 22:58:22 +02:00 |
|
Maas-Maarten Zeeman
|
0e45e9bea4
|
Re-enabled a lot of tests
|
2022-05-21 22:00:54 +02:00 |
|
Maas-Maarten Zeeman
|
7913ec08c9
|
Added changes
|
2022-05-21 14:45:18 +02:00 |
|
Maas-Maarten Zeeman
|
71dbc8faaf
|
Removed outdated comments
|
2022-05-21 13:54:35 +02:00 |
|
Maas-Maarten Zeeman
|
d1dffa1e8d
|
Added step function in favour of multi_step
|
2022-05-21 09:30:56 +02:00 |
|
Maas-Maarten Zeeman
|
2062ff5d1b
|
Used extended error codes
|
2022-05-19 21:26:40 +02:00 |
|
Maas-Maarten Zeeman
|
77cea7e902
|
Turn on sqlite's extended error codes
|
2022-05-19 08:21:38 +02:00 |
|
Maas-Maarten Zeeman
|
616127c748
|
Added column names
|
2022-05-18 00:15:29 +02:00 |
|
Maas-Maarten Zeeman
|
953a12a207
|
Changed order of parameters
|
2022-05-17 23:06:25 +02:00 |
|
Maas-Maarten Zeeman
|
6c5e13ced3
|
Changed open/close and prepare
|
2022-05-17 22:09:25 +02:00 |
|
Maas-Maarten Zeeman
|
71fe0d81a8
|
Start removal of command thread
|
2022-05-16 23:47:54 +02:00 |
|
Maas-Maarten Zeeman
|
86800f3f17
|
Added missing check for inspect_iodata
|
2022-01-29 18:11:02 +01:00 |
|
Maas-Maarten Zeeman
|
3147cd75ca
|
Updated the comment regarding the stack size
|
2022-01-25 21:40:34 +01:00 |
|
Maas-Maarten Zeeman
|
37b48af7e6
|
Use a stack size of 3Mb, which is about right for complex queries
|
2022-01-25 18:13:06 +01:00 |
|
Maas-Maarten Zeeman
|
1777b4424c
|
Small refactor
|
2022-01-24 10:44:45 +01:00 |
|
Maas-Maarten Zeeman
|
d388e1cb5c
|
Use a smaller stack
|
2022-01-23 19:16:25 +01:00 |
|
Maas-Maarten Zeeman
|
9762942859
|
Turn off autoinit
|
2022-01-12 23:19:09 +01:00 |
|
Maas-Maarten Zeeman
|
756c1cbe29
|
Added tests for the backup calls
|
2022-01-11 20:31:31 +01:00 |
|
Maas-Maarten Zeeman
|
d0cc3b10cc
|
Implemented backu_step
|
2022-01-08 22:19:22 +01:00 |
|
Maas-Maarten Zeeman
|
e635710bda
|
Added tests for remaining and pagecount
|
2022-01-08 19:21:54 +01:00 |
|
Maas-Maarten Zeeman
|
3c65723a0f
|
Busy adding remaining and pagecount
|
2022-01-08 17:04:47 +01:00 |
|
Maas-Maarten Zeeman
|
a809775841
|
Implemented backup_init
|
2022-01-08 15:05:32 +01:00 |
|
Maas-Maarten Zeeman
|
6bdaf1e894
|
Added basics to expose backup api
|
2022-01-06 23:55:40 +01:00 |
|
Maas-Maarten Zeeman
|
570d3cbb13
|
Use sqlite_changes64
|
2022-01-04 11:44:30 +01:00 |
|
Maas-Maarten Zeeman
|
b8882581ac
|
Fix merge
|
2022-01-04 11:26:35 +01:00 |
|
Maas-Maarten Zeeman
|
3cb540a553
|
Merge branch 'master' into cleanup-connection-and-statement-types
|
2022-01-04 11:07:22 +01:00 |
|
Maas-Maarten Zeeman
|
4e56d6cb9c
|
Whitespace
|
2022-01-04 10:22:59 +01:00 |
|
Maas-Maarten Zeeman
|
6646fa1a0a
|
Added tests for closed database behaviour
|
2022-01-03 23:49:43 +01:00 |
|
Maas-Maarten Zeeman
|
49aff0cf9a
|
Added extra check for closed database in update_hook
|
2022-01-03 23:33:37 +01:00 |
|
Joe Freeman
|
09a9c86097
|
Add function to get the last insert rowid (#62)
* Add function to get the last insert rowid
* Update esqlite3.erl
Co-authored-by: Maas-Maarten Zeeman <mmzeeman@xs4all.nl>
|
2022-01-03 18:05:27 +01:00 |
|
Maas-Maarten Zeeman
|
f60a0b45e7
|
Merged interrupt after timeout pr (#71)
* Merged interrupt after timeout pr
* Bump version number
|
2022-01-03 15:10:40 +01:00 |
|
Maas-Maarten Zeeman
|
852c3286cf
|
Add specs docs and refactor (#70)
* Changed old style specs to more up to date specs
* Added documentation
* Changed all @spec to -spec's
* Bump version number
|
2022-01-03 14:09:01 +01:00 |
|
Connor Rigby
|
dea7ba1a35
|
Fix ESQLITE_USE_SYSTEM
This fixes the logic for setting the include directory for the sqlite
header file
|
2019-04-19 08:17:27 -07:00 |
|
connor rigby
|
d014a4d525
|
Implement get_autocommit
http://www.sqlite.org/c3ref/get_autocommit.html
|
2018-12-02 11:10:03 -08:00 |
|
Connor Rigby
|
8fa063a3f1
|
Add ability to subscribe to table updates.
This was implemented based on
[this](https://www.sqlite.org/c3ref/update_hook.html) document.
|
2018-11-29 15:30:00 -08:00 |
|
Alex Golubov
|
f5d73f7c82
|
Reading multiple rows from sqlite and send to Erlang process in one bulk.
|
2018-07-05 22:55:10 +05: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 |
|