Stu Tomlinson
bcfbeaac80
Do not link to sqlite3 on macos
...
On macos (darwin), sqlite3 is embedded using "the amalgamation". There
is therefore no need to link to the system sqlite3, and doing so can
cause unexpected behaviour/failures.
Also be explicit about darwin vs. non-darwin port_specs sources.
rebar3 seems to get confused when compiling under eunit command sometimes
2020-12-18 11:43:02 +00:00
Paweł Chmielowski
093dedefa7
Fix compilation on macos 11.0
2020-12-10 14:56:46 +01:00
Paweł Chmielowski
c31585341e
Remove erl_interface include, it's not required and causes problems on 23
2020-05-22 09:30:18 +02:00
Sergey Abramyan
84cd542eb0
Add get changes
2015-03-15 23:51:33 +03:00
Alexey Romanov
16ddd2cd03
Ignore non-negative driver_async return values
2014-10-17 23:41:16 +04:00
Alexey Romanov
87b88eb1c4
Allow driver instances to use different threads
2014-10-17 23:40:45 +04:00
Alexey Romanov
35554f7cb1
Store DB name in driver
2014-10-13 10:19:08 +04:00
Alexey Romanov
47ef78b5ed
Formatting
2014-10-13 09:53:14 +04:00
Alexey Romanov
d0701903aa
Use single codebase for all Erlang versions
2014-10-12 21:35:15 +04:00
Alexey Romanov
b3856c745f
Log into correct temp directory
2014-10-12 19:52:37 +04:00
Alexey Romanov
e4e3bb40f2
Ignore warning in erl_interface on 64-bit Windows
2014-10-11 01:24:55 +04:00
Alexey Romanov
78ac8991eb
Fix warnings on Windows
2014-10-11 00:17:24 +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
54048aae5b
Define ERLANG_SQLITE3_LOAD_EXTENSION by default
...
Fixes #30
2014-10-09 23:56:13 +04: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
b0f1aa1351
Added a way to enable exception loading
2013-03-25 00:49:12 +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
b0af67943d
Suppressed warning on Windows
2011-05-09 22:04:18 +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
9f57f6ae39
Support script execution (no error messages currently)
2011-01-24 14:01:35 +03:00
Alexey Romanov
cf864c1a13
Removed warnings when compiling under MSVC
2010-12-17 13:25:50 +03:00
Alexey Romanov
df6e7601ce
Fix macro used to determine if we are on Win32
2010-12-11 21:57:42 +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
f628471d17
Fixed more errors with prepared statements
2010-12-09 15:55:30 +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
b46ba9f35d
Removed last warning due to use of not-always-available function 'strcasestr'
2010-11-26 13:34:31 +03:00
Alexey Romanov
7022e2400e
Fixed most remaining warnings
2010-11-26 13:09:31 +03:00
Alexey Romanov
9041a0bb98
Use rowid as tag for 'write's return value
2010-11-23 15:08:09 +03:00
Alexey Romanov
7cb0ab538e
Can distinguish blobs from text when retrieving data from DB
2010-11-22 18:20:57 +03:00
Alexey Romanov
864d01aec1
Support parametrized statements
2010-11-19 16:36:46 +03:00
Alexey Romanov
24b26465b2
Support for 64-bit integers works
2010-11-11 13:55:44 +03:00
Alexey Romanov
4864e114e8
First attempt to support 64-bit ints
2010-11-09 16:49:19 +03:00
David Reid
b66ec96249
Rebar good autoconf bad
2010-10-12 10:19:34 -07:00