Alexey Romanov
78ac8991eb
Fix warnings on Windows
2014-10-11 00:17:24 +04:00
Alexey Romanov
233a2c1559
Simplify appending to a dataset
2014-10-10 23:09:29 +04:00
Alexey Romanov
ea9fa6093a
Add macro to extend dataset size
2014-10-10 15:55:49 +04:00
Alexey Romanov
0f754839ae
Change version number to 1.1.0
2014-10-10 13:00:43 +04:00
Alexey Romanov
79ea77d999
Add test for #23
2014-10-10 12:25:08 +04:00
Alexey Romanov
96c34117df
Fix a wrong allocation size
2014-10-10 12:06:20 +04:00
Alexey Romanov
d6fad111c6
Add esqlite mention to README.md
2014-10-10 11:44:50 +04:00
Alexey Romanov
45a1b22b41
Fix statement finalization in scripts ( #24 )
2014-10-10 11:35:48 +04:00
Alexey Romanov
d125bcba07
Allow raw constraints for tables as well
2014-10-10 10:35:31 +04:00
Alexey Romanov
9b9448dcdd
Merge remote-tracking branch 'stentroad/custom'
2014-10-10 10:28:39 +04:00
Alexey Romanov
c5671f996e
Build status added to README
2014-10-10 00:55:33 +04:00
Alexey Romanov
8951767a09
Another Windows makefile fix
2014-10-10 00:49:03 +04:00
Alexey Romanov
e7d0f9c221
Changed supported Erlang versions
2014-10-10 00:40:06 +04:00
Alexey Romanov
8673f2db6b
Merge branch 'master' of github.com:dnet/erlang-sqlite3 into dnet-master
...
Conflicts:
c_src/sqlite3_drv.c
2014-10-10 00:36:56 +04:00
Alexey Romanov
5b9b1b94a9
Call make test and add OTP versions in Travis
2014-10-10 00:12:35 +04:00
Alexey Romanov
20bd5fe5d0
Slight improvement to Windows build
2014-10-10 00:10:09 +04:00
Alexey Romanov
54048aae5b
Define ERLANG_SQLITE3_LOAD_EXTENSION by default
...
Fixes #30
2014-10-09 23:56:13 +04:00
Alexey Romanov
475096d698
Add Travis-CI
2014-10-09 23:18:09 +04:00
Alexey Romanov
58fe094fb3
Merge pull request #32 from dmzmk/master
...
Few memory leaks were fixed.
2014-10-08 19:12:28 +04:00
Dmitriy Mazurin
d237e42735
Few memory leaks were fixed.
...
First memory leak occurred due to improper linked list construction
in `add_to_ptr_list` function.
In case if list had tail - result of execution would be lost pointer of
previous tail.
Second memory leak was in `output_error`.
Function allocated `dataset` but never freed allocated memory.
2014-10-06 14:57:16 +04:00
András Veres-Szentkirályi
34f43d429f
replaced deprecated function driver_output_term
...
From erl_driver.h:
driver_output_term() is deprecated, and scheduled for removal in
OTP-R17. Use erl_drv_output_term() instead.
2013-09-18 13:45:32 +02:00
András Veres-Szentkirályi
b0f95b7774
use Erlang typedefs instead of hardcoded types
...
for example, on Linux x86_64, ErlDrvSSizeT is long, not int
2013-09-18 13:31:17 +02:00
Alexey Romanov
4a309c2d9c
Merge pull request #27 from maxlapshin/patch-1
...
support for encoding true/false to sqlite
2013-08-15 06:46:25 -07:00
Max Lapshin
3e306069c8
support for encoding true/false to sqlite
2013-08-15 17:26:57 +04:00
Alexey Romanov
e282c677c1
Merge pull request #26 from maxlapshin/patch-1
...
Handle adding of columns in database process
2013-08-15 06:14:03 -07:00
Max Lapshin
a1dc034b3e
adding columns to table
...
calling add_column_sql in database server
2013-08-15 13:59:28 +04:00
Alexey Romanov
f2a4dd3301
Merge pull request #25 from maxlapshin/patch-1
...
sqlite3:add_columns feature
2013-08-11 21:22:41 -07:00
Max Lapshin
2ef8969344
Add sqlite3:add_columns
2013-08-10 16:59:47 +04:00
Max Lapshin
483063e9b2
Added add_columns_sql
...
Need to add columns to table.
2013-08-10 16:58:14 +04:00
Alexey Romanov
b9667f39e7
Merge pull request #22 from dnet/readme-test-erl
...
fixed test file path in README
2013-04-01 12:13:48 -07:00
Alexey Romanov
e7f7b565f6
Merge pull request #21 from dnet/ifdef-debug-functions
...
compile debug print functionality only when DEBUG is defined
2013-04-01 12:13:09 -07:00
András Veres-Szentkirályi
6988da35dd
fixed test file path in README
...
fa377cc942 moved the test file from `src`
to `test`, while README still mentioned former
2013-04-01 20:58:33 +02:00
András Veres-Szentkirályi
a5df9269a5
compile debug print functionality only when DEBUG is defined
2013-04-01 20:53:56 +02:00
Alexey Romanov
43f31831ad
Test added
2013-03-25 22:54:53 +04:00
Alexey Romanov
d338b966ec
Support for anonymous DB processes
2013-03-25 22:47:09 +04:00
Alexey Romanov
b0f1aa1351
Added a way to enable exception loading
2013-03-25 00:49:12 +04:00
Alexey Romanov
aeaa81f44b
Return result from en/disabling extension loading
...
Previously the return value of `sqlite3_enable_load_extension` was ignored.
2013-03-23 22:05:06 +04:00
Alexey Romanov
f44890c223
Merge pull request #20 from rflynn/master
...
minor bugfixes
2013-03-23 10:59:50 -07:00
Ryan Flynn
9a28ba1651
correct 'Other' double-use
2013-03-23 11:31:58 -04:00
Ryan Flynn
ef5555cbe2
%lld/%llu for 64-bit ints
2013-03-23 11:29:25 -04:00
Ryan Flynn
029995f6a3
issue #17 : solve Symbol not found: _sqlite3_enable_load_extension by #ifdef-ing it out by default; erlang-sqlite3 will need configure-esque feature detection via http://www.sqlite.org/c3ref/compileoption_get.html or http://www.sqlite.org/pragma.html#pragma_compile_options
2013-03-23 11:29:24 -04:00
Alexey Romanov
df6bd9bd90
Merged from rflynn/write_many_nestable
2013-01-03 09:35:33 +04:00
Ryan Flynn
14874a9776
make write_many nestable via SAVEPOINT instead of BEGIN/COMMIT
2013-01-02 15:54:51 -05:00
Brian Stubbs
7fa65d6712
Allocating more memory than required?
2012-11-07 12:24:14 -02:00
Brian Stubbs
eab6ce1fcc
Allow raw sql in create_table (used for foreign keys).
2012-11-07 12:05:13 -02:00
Alexey Romanov
5a2bb57854
Mentioned required Erlang and SQLite3 versions
2012-10-06 00:43:51 +04:00
Alexey Romanov
8752bffec1
Copy column names to driver-allocated memory.
...
Fixes issue #14 by copying out column names before memory can be overwritten by another statement.
2012-09-17 10:32:16 +04:00
Alexey Romanov
e417a95f53
Fixes for extension loading
2012-09-14 17:17:34 +04:00
Alexey Romanov
5fd17e2abf
Fixed formatting
2012-09-14 16:15:46 +04:00
Alexey Romanov
99ea8fdb7b
Fixed issue #13 (binding ints from 128 to 255 incorrectly)
2012-09-14 16:11:49 +04:00