Commit Graph

175 Commits

Author SHA1 Message Date
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
71ab94ba7c Changed version number to 1.0 2010-10-28 10:36:24 +04:00
Alexey Romanov
2059bfd7fd Support for BLOBs 2010-10-28 10:14:04 +04: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
Alexey Romanov
7ca03405b7 Removed accidental duplication of debug output 2010-10-22 10:38:31 +04:00
Alexey Romanov
8ae641e4e5 Changed external calls to the same module to local calls 2010-10-22 10:32:03 +04:00
Alexey Romanov
c53f0de508 Better interface for bulk inserts 2010-10-22 10:26:34 +04:00
Alexey Romanov
3bfd35418c Slight change in test 2010-10-22 10:02:00 +04:00
Alexey Romanov
83e7ae5a35 Separate debugging macros from testing 2010-10-21 13:12:41 +04:00
Alexey Romanov
c7444dc5aa Restored correct error handling 2010-10-21 12:03:17 +04:00
Alexey Romanov
8548bbac69 Factored out common code in sqlite3:handle_call/1 2010-10-20 18:13:20 +04:00
Alexey Romanov
ce7e326391 Add debugging macros 2010-10-20 18:05:26 +04:00
Alexey Romanov
8545a74c7e Added read_all functions 2010-10-20 15:01:30 +04:00
Alexey Romanov
535992b560 Removed possibility of accidentally handling gen_cast or gen_call in sqlite3:wait_result/1 2010-10-19 18:43:54 +04:00
Alexey Romanov
9c28f38027 Fix handling of default values 2010-10-15 12:52:49 +04:00
Alexey Romanov
d6dddd6aca Removed unused applications from sqlite3.app.src 2010-10-15 10:50:45 +04:00
Alexey Romanov
cc14eff7c6 Fix sqlite3.app.src 2010-10-14 13:08:16 +04:00
Alexey Romanov
56bfbe484d Got rid of Dialyzer warnings 2010-10-14 12:40:47 +04:00
Alexey Romanov
fa377cc942 Moved sqlite3_test.erl into test subdirectory 2010-10-14 10:34:52 +04:00
Alexey Romanov
91439ec043 Merged with http://github.com/dreid/erlang-sqlite3 2010-10-14 10:24:18 +04:00
David Reid
766f8483c4 Use eunit for tests and add coverage and surefire reporting to rebar.config 2010-10-12 10:36:34 -07:00
David Reid
b66ec96249 Rebar good autoconf bad 2010-10-12 10:19:34 -07:00
Alexey Romanov
42bffde039 More tests 2010-10-12 17:20:30 +04:00
Alexey Romanov
972df93fbb Added EUnit tests 2010-10-12 16:42:57 +04:00
Alexey Romanov
27720f493e Use eunit for tests 2010-10-12 15:02:37 +04:00
Alexey Romanov
a8d0290407 Functions to create tables with constraints 2010-10-12 14:23:05 +04:00
Alexey Romanov
2b4afbe1b6 Continued support for constraints 2010-10-12 13:48:58 +04:00
Alexey Romanov
e8e6470172 Begin support for other constraints than PRIMARY KEY 2010-10-12 12:42:39 +04:00
Alexey Romanov
b29185e601 Get type of primary key out of table_info 2010-10-12 11:45:28 +04:00
Alexey Romanov
7629e1f38c Moved documentation for sql_value() type to correct place 2010-10-12 11:42:23 +04:00
Alexey Romanov
3f2ea22ca3 Documentation fix 2010-10-12 11:23:46 +04:00
Alexey Romanov
f6b0b2185f More specific type for map_intersperse 2010-10-12 10:49:10 +04:00
Alexey Romanov
37aa64dd5f Replace return type string() with iolist() for SQL-generating functions 2010-10-12 10:14:51 +04:00
Alexey Romanov
cb2f1c9121 Formatting fixed 2010-10-12 10:08:52 +04:00
Alexey Romanov
0669e26175 Fixed column types, according to http://www.sqlite.org/datatype3.html 2010-10-12 09:57:14 +04:00
Alexey Romanov
5f5532bbe8 Replaced use of intersperse with map_intersperse 2010-10-12 09:44:10 +04:00
Alexey Romanov
70a42cab2c Removed remaining io:format calls when constructing queries 2010-10-07 14:22:29 +04:00
Alexey Romanov
33d7323436 sqlite3:create_link/1,2 now opens link with correct name 2010-10-05 17:20:07 +04:00
Alexey Romanov
a37af9f0ab Another fix to CT suite 2010-10-05 15:27:04 +04:00
Alexey Romanov
f20f951c7c Simplified replace function (see Erlang Efficiency Guide) 2010-10-05 14:32:08 +04:00
Alexey Romanov
842df283d0 Construct SQL queries as iolists, not as strings 2010-10-05 14:27:28 +04:00
Alexey Romanov
4dba645ca6 Better way to find current module's directory 2010-10-05 13:43:53 +04:00
Alexey Romanov
f4c3407c5c Fixed test in sqlite3_test.erl 2010-10-05 13:42:43 +04:00
Alexey Romanov
97a812867d Fixed Common Test suite 2010-10-05 13:37:40 +04:00
sergey-miryanov
092f6934e3 Fix typo
Replace null atom with string. Thanks to Jacek Złydach
2010-07-14 14:08:16 +06:00
sergey-miryanov
b65d2f8bcb Improve processing of SQLITE_NULL
null-atom can be configured on configure or make stage. For example
./configure --enable-null-atom=undefined && make
2010-07-14 12:47:46 +06:00
sergey-miryanov
7876c0f568 Fix sqlite3_lib:read_sql/4
Invalid construction of fields list in select stmt
2010-02-18 11:55:42 +05:00
sergey-miryanov
cd10c3eea0 Improve error diagnostic in driver init 2010-02-11 14:41:55 +05:00