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
|
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 |
|
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
|
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 |
|
booo
|
20298aad29
|
First implementation for enable_load_extension
TODO: Wait for the reply of the port driver
|
2012-07-24 16:14:33 +02:00 |
|
Alexey Romanov
|
193baaaf7e
|
Test log isn't actually stderr before closing it
|
2012-06-18 20:34:08 +04:00 |
|
Alexey Romanov
|
398f02c039
|
Open log file in C code only when DEBUG macro is defined
|
2012-06-18 15:08:56 +04:00 |
|
Alexey Romanov
|
a1e3fbc4b0
|
Fixed handling of errors after columns are determined
|
2012-04-19 16:40:16 +04:00 |
|
Ryan Flynn
|
824adcea32
|
don't hide the problem, use stderr instead
|
2012-03-14 11:09:23 -04:00 |
|
Ryan Flynn
|
7f9206336a
|
if logfile open fails fallback to /dev/null or stderr rather than crash
|
2012-03-13 17:47:35 -04:00 |
|
Alexey Romanov
|
9297d7268e
|
Removed unneeded function
|
2012-02-22 13:32:53 +04:00 |
|
Alexey Romanov
|
8aadf7adc4
|
Fixed typo in basic_driver_entry
|
2011-12-16 13:23:56 +04:00 |
|
Alexey Romanov
|
d35c52a370
|
Fixed tests and documentation.
|
2011-05-10 12:32:40 +04:00 |
|
Alexey Romanov
|
9eb6f9ed1f
|
Fixed a term encoding problem
See http://www.erlang.org/doc/man/ei.html#ei_decode_string
|
2011-04-26 11:25:05 +04:00 |
|
Alexey Romanov
|
f9c8232e35
|
Fix infinite loop
|
2011-04-26 09:41:34 +04:00 |
|
Alexey Romanov
|
81b42236a7
|
Fix format of a debug message
|
2011-04-25 11:40:00 +04:00 |
|
Alexey Romanov
|
14ab6227df
|
Fix Windows compilation
|
2011-04-20 11:53:48 +04:00 |
|
Alexey Romanov
|
442fc256d5
|
Fixed, all tests pass
|
2011-04-19 17:48:19 +04:00 |
|
Alexey Romanov
|
dddb991d5e
|
Improved dataset printing
|
2011-04-19 15:36:36 +04:00 |
|
Alexey Romanov
|
7935c3c652
|
Trying to fix (this version doesn't work)
|
2011-04-05 12:44:14 +04:00 |
|
Alexey Romanov
|
12a5d3c9a6
|
Begin fixing script support
|
2011-04-04 17:14:48 +04:00 |
|
Alexey Romanov
|
3cf9d77ee6
|
Fixed dumb error
|
2011-04-04 11:53:55 +04:00 |
|
Alexey Romanov
|
b677cb45e8
|
Support OTP R13B.
Remove use of R13B04 features.
|
2011-02-16 18:54:04 +03:00 |
|
Alexey Romanov
|
11452c5b88
|
Finished multiple statement support
|
2011-01-24 15:48:48 +03:00 |
|
Alexey Romanov
|
9f57f6ae39
|
Support script execution (no error messages currently)
|
2011-01-24 14:01:35 +03:00 |
|
Alexey Romanov
|
9d138346cd
|
Suitable error message for empty statements
|
2011-01-24 12:38:38 +03:00 |
|
Alexey Romanov
|
7134209896
|
Remove useless assignment to const char *rest
|
2011-01-24 11:59:03 +03:00 |
|
Alexey Romanov
|
2cfabf6d75
|
Remove const type cast
|
2011-01-24 11:50:08 +03:00 |
|
Alexey Romanov
|
7c4ccd419e
|
Check statement for NULL after sqlite3_prepare_v2
|
2011-01-24 11:44:39 +03:00 |
|
Alexey Romanov
|
816ca0afb3
|
Fix buffer overflow
|
2011-01-06 16:28:12 +03:00 |
|
Alexey Romanov
|
cf864c1a13
|
Removed warnings when compiling under MSVC
|
2010-12-17 13:25:50 +03:00 |
|
Alexey Romanov
|
aacdf8c3f6
|
Fixed compilation errors under CL
|
2010-12-11 21:02:22 +03:00 |
|
Alexey Romanov
|
55611d5756
|
Fixed binding in prepared statements
|
2010-12-10 11:24:12 +03:00 |
|
Alexey Romanov
|
a49fbd8ec5
|
More specific error messages
|
2010-12-10 11:01:56 +03:00 |
|
Alexey Romanov
|
9f1f3492fc
|
Added a function to retrieve columns of a prepared statement
|
2010-12-09 18:48:55 +03:00 |
|
Alexey Romanov
|
9913f3681b
|
Demonstrate segmentation fault
|
2010-12-09 17:51:25 +03:00 |
|
Alexey Romanov
|
8a2e3e8ad4
|
Forgot to initialize some fields in the structure
|
2010-12-09 17:08:24 +03:00 |
|
Alexey Romanov
|
f628471d17
|
Fixed more errors with prepared statements
|
2010-12-09 15:55:30 +03:00 |
|
Alexey Romanov
|
3a6b712260
|
Fix return value
|
2010-12-07 19:11:36 +03:00 |
|
Alexey Romanov
|
51e9481aa7
|
First cut of prepared statement support
|
2010-12-07 18:18:14 +03:00 |
|
Alexey Romanov
|
3c96c26c11
|
Uncomment debug logging and compile it conditionally
|
2010-12-07 15:02:35 +03:00 |
|
Alexey Romanov
|
125d1791de
|
NULL instead of 0 for pointer
|
2010-12-07 09:55:40 +03:00 |
|
Alexey Romanov
|
2ec6e008eb
|
Restored driver key
|
2010-12-07 09:50:14 +03:00 |
|
Alexey Romanov
|
68493c1ee9
|
Fixed key number
|
2010-12-06 17:39:41 +03:00 |
|
Alexey Romanov
|
85726b1e7c
|
Use driver_{alloc|realloc|free} for correct memory management
|
2010-12-03 13:57:48 +03:00 |
|