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
c8d711a53e
Added a way to distinguish port exit in error tuples
2012-06-18 14:36:54 +04:00
booo
48568f0eaf
src/sqlite3.erl: remove unnecessary calls to error_logger ( fix #10 )
2012-06-14 18:11:23 +02:00
booo
a95bb19811
src/sqlite3.erl: remove white spaces
2012-06-14 17:45:32 +02:00
Alexey Romanov
a1e3fbc4b0
Fixed handling of errors after columns are determined
2012-04-19 16:40:16 +04:00
Alexey Romanov
8f65e13669
Removed redundant @spec tags
2012-02-24 17:26:32 +04:00
Alexey Romanov
0611b80884
Fixed tests, added support for non-atom column ids
2012-02-24 17:13:02 +04:00
Ulf Wiger
bfbf038873
list_tables/1 now returns table names as they were first given.
...
The create_table/3 function will cast all table names to binaries, allowing
them to be given as atoms, binaries or strings. In order to recall what the
original type was, the CREATE TABLE statement includes a constant CHECK
constraint, e.g. CHECK('bin'='bin'), which is then parsed by the list_tables
function. The constraint is put last in the statement, and should not
interfere with any other constraints. Hopefully, the sqlite compiler is good
enough that this constant expression doesn't add too much overhead. :)
2012-02-24 09:11:24 +01:00
Ulf Wiger
6986d0bbde
Changed the type of table names to include binaries and strings.
...
Table names get converted into iolists anyway, and in some applications,
it is undesireable to have to create atoms for dynamic table names.
2012-02-22 20:44:07 +01:00
Alexey Romanov
c3817095b2
Fixed types
2011-05-16 13:19:42 +04:00
Alexey Romanov
b7b9c5e422
More efficient sqlite3:write_many
2011-05-10 14:23:33 +04:00
Alexey Romanov
77a00ae1c1
Increased robustness against bad arguments
2011-05-10 14:21:07 +04:00
Alexey Romanov
d35c52a370
Fixed tests and documentation.
2011-05-10 12:32:40 +04:00
Alexey Romanov
5f8d8e2e77
Export useful types from sqlite3.erl
2011-04-28 13:29:00 +04:00
Alexey Romanov
13cb7f8148
Types improved
2011-04-28 13:20:44 +04:00
Alexey Romanov
766ba3f682
Fixed types
2011-04-28 12:50:06 +04:00
Alexey Romanov
442fc256d5
Fixed, all tests pass
2011-04-19 17:48:19 +04:00
Alexey Romanov
7935c3c652
Trying to fix (this version doesn't work)
2011-04-05 12:44:14 +04:00
Alexey Romanov
b677cb45e8
Support OTP R13B.
...
Remove use of R13B04 features.
2011-02-16 18:54:04 +03:00
Alexey Romanov
2ab2328f15
Remove confusing 'transaction' functions.
2011-02-11 18:40:28 +03:00
Alexey Romanov
6b9d7df385
Add function variants which take Timeout.
2011-02-11 18:36:43 +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
ececb9001f
Fix signature in documentation
2011-01-11 13:48:18 +03:00
Alexey Romanov
fe680f65e9
Added vacuum function
2010-12-10 11:28:47 +03:00
Alexey Romanov
55611d5756
Fixed binding in prepared statements
2010-12-10 11:24:12 +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
9c1a6cb650
Handle calls with bad references correctly
2010-12-09 15:54:58 +03:00
Alexey Romanov
70050ec3cf
Fixed state of gen_server when finalizing prepared statement
2010-12-09 15:47:08 +03:00
Alexey Romanov
ae4537fa12
Called wrong function in dict
2010-12-07 19:22:13 +03:00
Alexey Romanov
75f5544f10
Added interface for prepared statements on the Erlang side
2010-12-07 18:58:15 +03:00
Alexey Romanov
51e9481aa7
First cut of prepared statement support
2010-12-07 18:18:14 +03:00
Alexey Romanov
a6fa7aef21
Formatting
2010-12-06 19:19:26 +03:00
Alexey Romanov
ee13fe6970
Remove error messages about driver being permanent
2010-12-06 19:14:32 +03:00
Alexey Romanov
7ef6bec04c
Unload driver on gen_server termination
2010-12-06 18:28:30 +03:00
Alexey Romanov
e196e93c35
Fixed error formatting
2010-12-06 18:09:36 +03:00
Alexey Romanov
e325ba0c77
Fixed type sql_non_query_result() to include {rowid, integer()} on INSERT
2010-11-26 17:57:55 +03:00
Alexey Romanov
5d27f2049e
Oops, forgot the documentation fix
2010-11-23 17:05:30 +03:00
Alexey Romanov
47a4c2e0fa
Added test and fixed documentation for update/3,4
2010-11-23 17:04:31 +03:00
Alexey Romanov
46a843b1ce
More specific types
2010-11-23 16:52:35 +03:00
Alexey Romanov
2ea2dc8fcc
Added error code from SQLite into returned value on error
2010-11-23 15:56:30 +03:00
Alexey Romanov
864d01aec1
Support parametrized statements
2010-11-19 16:36:46 +03:00
Alexey Romanov
169e0d0ae4
Added first test for parametrized statements
2010-11-19 11:02:38 +03:00
Alexey Romanov
da4efc61f6
Cleaner error handling
2010-11-18 17:05:56 +03:00
Alexey Romanov
10040804a7
Renamed parameter
2010-11-18 15:05:48 +03:00
Alexey Romanov
e8d5086405
Removed unimplemented create_function
2010-11-18 14:32:37 +03:00
Alexey Romanov
baa51b0c68
Improved documentation
2010-11-18 14:31:33 +03:00
Alexey Romanov
466e0332f4
Allow temporary and in-memory databases
2010-11-18 14:06:04 +03:00
Alexey Romanov
92668f10ef
Fix search path for port driver
2010-10-26 10:51:09 +04:00
Alexey Romanov
93e4e74461
Indentation fixed
2010-10-22 12:07:24 +04:00