Doug Coleman
f56b54077b
more unit tests
2008-03-11 00:18:57 -05:00
Doug Coleman
0e4ee18110
updating postgresql
2008-03-10 13:56:58 -05:00
Slava Pestov
26df05b912
More unit test fixes
2008-03-08 04:27:19 -06:00
Slava Pestov
09352a9327
Cleanup
2008-03-08 04:01:43 -06:00
Alex Chapman
641d345a99
Merge git://factorcode.org/git/wrunt into experimental
2008-03-08 10:22:34 +11:00
Doug Coleman
915fd4e0f8
fix two load errors
2008-03-07 16:45:11 -06:00
Alex Chapman
60ac79e5ab
Merge branch 'master' of git://factorcode.org/git/factor into semantic-db
2008-03-06 23:54:46 +11:00
Slava Pestov
626334303c
Fix build dir pollution in unit tests
2008-03-06 03:03:07 -06:00
Doug Coleman
1ee943c2d5
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
extra/db/sqlite/sqlite.factor
2008-03-05 21:38:16 -06:00
Doug Coleman
b8eb5abd13
before major query overhaul
2008-03-05 20:56:40 -06:00
Doug Coleman
dfb3dac5fd
sqlite now gets return types with the optimized native functions
...
removed a hack in type conversion
serialize arbitrary factor objects to db
2008-03-05 19:59:29 -06:00
Doug Coleman
3eb7830d2c
before major overhaul on return values
2008-03-05 19:08:33 -06:00
Slava Pestov
3c98385c11
Fixes for recent method tuple cleanup
2008-03-05 16:00:34 -06:00
Slava Pestov
8da6f2a7f9
Fix conflict
2008-03-05 15:04:42 -06:00
Doug Coleman
4fd4882e02
fix unit tests
2008-03-05 13:51:31 -06:00
Alex Chapman
62e330319d
Merge branch 'master' of git://factorcode.org/git/factor into frepublic
2008-03-04 09:58:57 +11:00
Doug Coleman
15947d6853
start moving db to new-slots
...
redo the tuple tests so it's a bit easier to work with
fix a bug where selecting based on an empty tuple wouldn't work
2008-03-03 08:56:06 -06:00
Slava Pestov
a350a91232
db: minor fixes
2008-03-03 05:40:50 -05:00
Slava Pestov
e98cd1fd59
New convention for unit tests
2008-03-01 17:00:45 -05:00
Doug Coleman
93a8cbcac3
fix a hack. oops
2008-02-29 15:41:54 -06:00
Doug Coleman
869cfd5463
fix sqlite -- wasn't settin gthe bound? flag
2008-02-29 15:38:20 -06:00
Alex Chapman
7af882a5fb
Merge branch 'master' of http://factorcode.org/git/factor into semantic-db
...
Conflicts:
extra/db/sqlite/sqlite.factor
2008-02-29 14:11:46 +11:00
Alex Chapman
0da202f178
latest db and semantic-db (not really working)
2008-02-29 13:51:59 +11:00
Doug Coleman
8cdec0202b
fix sqlite
...
remove reset-statement from db vocab
2008-02-27 18:28:32 -06:00
Alex Chapman
44548d0d0e
Merge branch 'master' of git://factorcode.org/git/factor into semantic-db
...
Conflicts:
extra/db/sqlite/sqlite.factor
2008-02-28 10:31:43 +11:00
Alex Chapman
8613940e60
Merge branch 'master' of http://factorcode.org/git/factor into semantic-db
...
Conflicts:
extra/db/tuples/tuples.factor
2008-02-28 10:30:07 +11:00
Doug Coleman
95aafbc188
some work on sqlite
2008-02-27 13:21:06 -06:00
Doug Coleman
94b183d5e6
db.tuples tests pass for postgresql
...
redo the with-db word
2008-02-25 14:50:42 -06:00
Doug Coleman
d1e5fddbed
fix a couple of minor bugs before major overhaul
2008-02-21 15:57:18 -06:00
Doug Coleman
4b881bb3dd
work on the sql types
2008-02-20 18:30:55 -06:00
Doug Coleman
117a7b6643
debugging sqlite
2008-02-20 12:05:25 -06:00
Doug Coleman
779bd8c8d9
sql is correctly generated for sqlite and postgresql up to basic selects
2008-02-20 11:30:48 -06:00
Alex Chapman
cfc7ef04b5
db.sqlite: add with-tmp-sqlite, db.tuples: some fixes
2008-02-19 12:09:59 +11:00
Doug Coleman
3028416a4c
checking in db before a major overhaul
2008-02-15 20:37:54 -06:00
Doug Coleman
d8e7f0c84a
add type conversion to the database library for sqlite and postgresql
2008-02-15 14:01:44 -06:00
Doug Coleman
def53a07d8
lose the bad codez in sqlite
...
change the db api to more-rows? and advance-row instead of just advance-row
sql-command takes a string or a seq of strings
postgresql create-sql handles native/assigned ids
2008-02-14 23:39:20 -06:00
Doug Coleman
86667aee23
execute-statement is now a word not a generic
...
sqlite works for tuple-tests
postgresql create/drop/insert works better now
2008-02-14 01:27:54 -06:00
Doug Coleman
eb75685031
fix a bug in sqlite
...
add execute-statment-row-id to db
some work on postgresql
2008-02-13 16:51:16 -06:00
Doug Coleman
d790e828d3
sqlite now binds by type
...
all sqlite unit tests pass
change rebind-statement to reset-statement
2008-02-12 17:10:56 -06:00
Doug Coleman
00a7df11a9
clean up db code
...
ready to implement types for bind-statement
2008-02-12 15:47:01 -06:00
Doug Coleman
3906f1c9f5
add drop table
...
fix up unit tests
2008-02-11 13:39:43 -06:00
Doug Coleman
afa71627ee
add db.types, db.tuples and some code in progress
...
create-sql works for a limited test case in sqlite
2008-02-10 23:11:16 -06:00
Slava Pestov
be2c8b13d7
Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom
2008-02-06 13:47:19 -06:00
Doug Coleman
354d85342e
remove dependency on sqlite3 binary
2008-02-04 13:57:22 -06:00
Doug Coleman
c9a7f35e9c
remove spurious db.sql
2008-02-04 13:32:27 -06:00
Doug Coleman
bb1e06dd8d
add copyright notices
...
update postgresql for new db protocol
make unit tests pass
2008-02-03 15:06:31 -06:00
Doug Coleman
1b03538caa
fix compile errors in sqlite
2008-02-03 00:14:27 -06:00
Doug Coleman
2c1bad2254
improve the db protocol and update sqlite to use it
2008-02-02 23:28:33 -06:00
Doug Coleman
71358d3c4a
first commit of db stuff
2008-02-01 17:43:44 -06:00