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 |
|
sergey-miryanov
|
27169869c0
|
Replace binary_to_atom with list_to_atom (binary_to_list ())
To avoid comilation errors on ERTS with version lower than 5.7
(for example, ubuntu 9.04)
|
2010-02-10 18:13:02 +05:00 |
|
sergey-miryanov
|
846e29c75e
|
Fix unbound variable at sqlite3:create_function
|
2010-02-05 19:02:41 +05:00 |
|
sergey-miryanov
|
6a6f663ea2
|
Add read operation (with specified columns to read)
|
2010-01-20 14:46:40 +05:00 |
|
sergey-miryanov
|
2583ec83ee
|
Add update operation
|
2010-01-20 14:13:27 +05:00 |
|
sergey-miryanov
|
2dd29008ce
|
Pass DB name to sqlite3_drv
If DB name not passed 'store.db' will be opened.
|
2010-01-20 10:47:04 +05:00 |
|
Max Lapshin
|
345746e9d7
|
maybe once will be user defined functions
|
2009-10-14 17:38:39 +04:00 |
|
Max Lapshin
|
8ec1f1fdad
|
driver working and passes its test
|
2009-10-14 17:38:32 +04:00 |
|
Max Lapshin
|
be08fe62f3
|
now can read table list from DB
|
2009-10-14 17:38:23 +04:00 |
|
Max Lapshin
|
4c66701aa0
|
Can read SQLite data
|
2009-10-14 17:38:23 +04:00 |
|
Max Lapshin
|
432f09c707
|
Working with output
|
2009-10-14 17:38:20 +04:00 |
|