Commit Graph

264 Commits

Author SHA1 Message Date
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
sergey-miryanov
ebe060caf8 Output errors to log file
Instead stderr
2010-01-20 11:29:38 +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
a33403b927 threaded sqlite 2009-10-14 17:38:35 +04:00
Max Lapshin
8ec1f1fdad driver working and passes its test 2009-10-14 17:38:32 +04:00
Max Lapshin
17424efb41 working, returning ID, etc 2009-10-14 17:38:28 +04:00
Max Lapshin
d9bf2afaac fixes 2009-10-14 17:38:23 +04:00
Max Lapshin
de53ecd1c0 now can in right way reply to empty resultsets 2009-10-14 17:38:23 +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
Max Lapshin
e14fbbadda can pass sql into driver 2009-10-14 17:38:14 +04:00
Max Lapshin
89d9d0b17d Trying to pass data into driver 2009-10-14 17:38:00 +04:00
Max Lapshin
9a3aea50a7 trying to implement list_tables 2009-10-13 09:00:25 +04:00
Max Lapshin
690974d808 tests are starting 2009-10-13 00:38:27 +04:00
Max Lapshin
eb221011fc renaming to sqlite3 2009-10-13 00:35:27 +04:00
Max Lapshin
247d23002d migrating to linkedin driver 2009-10-13 00:30:30 +04:00
Tee Teoh
9ab70fc797 Need these directories. 2008-10-18 23:55:41 -04:00
Tee Teoh
be54eca472 Cleanup 'make clean' 2008-10-18 23:16:57 -04:00
Tee Teoh
a412f13c09 Adding Common Test test suite. 2008-10-18 23:04:07 -04:00