David Reid
|
ff4e3315ba
|
Make sure we link to sqlite3
|
2010-10-12 10:53:22 -07: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
|
8ebf31c83b
|
Remove accidentally added .o files and add *.o to .gitignore
|
2010-10-12 10:27:06 -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
|
6fb796313b
|
Added check that delete works to test.erl
|
2010-10-12 16:47:36 +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
|
b1b0869bc3
|
Fix build system
|
2010-10-12 14:53:24 +04:00 |
|
Alexey Romanov
|
a8d0290407
|
Functions to create tables with constraints
|
2010-10-12 14:23:05 +04:00 |
|
Alexey Romanov
|
d4272f423e
|
Ignore erl_crash.dump
|
2010-10-12 13:53:14 +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
|
16b7f15eed
|
Get warnings from Dialyzer
|
2010-10-12 11:43:20 +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
|
3cc018a08b
|
Updated rules for make static
|
2010-10-08 13:51:37 +04:00 |
|
Alexey Romanov
|
ff73d03490
|
Since Emakefile.in now uses no macros, replace it with Emakefile
|
2010-10-07 15:40:16 +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
|
43721318ed
|
Updated readme
|
2010-10-05 15:30:00 +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
|
709f3e8c5a
|
Added a few patterns to .gitignore
|
2010-10-05 13:54:17 +04:00 |
|
Alexey Romanov
|
c5b17ae664
|
Fixed DB file name in test.erl
|
2010-10-05 13:48:51 +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
|
7c5e9ad167
|
Remove Emakefile from repo
Because it will be generated by configure
|
2010-07-14 12:49:52 +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
|
e9513fade8
|
Return name of columns from select statement as strings
Not as atoms
|
2010-02-12 16:58:05 +05:00 |
|
sergey-miryanov
|
747604412d
|
Cache common atoms
|
2010-02-12 16:26:18 +05:00 |
|
sergey-miryanov
|
6a6d6c313f
|
Fix processing of SQLITE_NULL
Is column has SQLITE_NULL type driver returs 'null' atom
|
2010-02-12 16:07:28 +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
|
96efbce2e7
|
Add autoconf files for better cross-platform compilation
|
2010-02-04 20:37:00 +05:00 |
|
sergey-miryanov
|
f993cd95b1
|
Change file mode back
|
2010-02-04 15:05:27 +05:00 |
|
sergey-miryanov
|
e5d14731b1
|
Check if ebin exists and create it if not
|
2010-02-04 15:04:52 +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 |
|