Commit Graph

46 Commits (8bce800b4a77537735876040c7dc1a0278eb25b6)

Author SHA1 Message Date
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
Doug Coleman eb8207a784 fix with-disposals to work on seq or obj 2008-02-27 19:36:32 -06:00
Doug Coleman 78266a3fc8 cache statements in db 2008-02-27 19:30:31 -06:00
Doug Coleman 3fcac9bd3d make postgresql pass unit tests 2008-02-27 18:47:14 -06:00
Doug Coleman 8cdec0202b fix sqlite
remove reset-statement from db vocab
2008-02-27 18:28:32 -06:00
Doug Coleman 95aafbc188 some work on sqlite 2008-02-27 13:21:06 -06:00
Doug Coleman 6ea88c2e82 remove persist word
add another couple of unit tests
2008-02-25 15:31:07 -06:00
Doug Coleman 19d771f827 re-add delete-tuple
make all unit tests pass for assigned-id
2008-02-25 15:13:00 -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 b1876ee269 select-tuple, select-tuples work for postgresql 2008-02-24 19:23:14 -06:00
Doug Coleman a4518150a7 fix postgresql connect error message
fix unit test
2008-02-24 12:32:36 -06:00
Doug Coleman 67876e13d9 break sqlite
postgresql create/drop/insert/update/delete/select works
2008-02-22 17:06:00 -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
Doug Coleman c12600815f add lots of unit tests to postgresql
select queries are generated now
2008-02-19 16:00:50 -06:00
Doug Coleman d6ede4dda5 intermediate work on db, everything is broken 2008-02-18 16:52:00 -06:00
Doug Coleman c559ff4c6f fix load error 2008-02-16 18:15:18 -06:00
Doug Coleman 3a0b0341ba fix load error 2008-02-15 21:14:52 -06: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 46df9c16d1 fix load error 2008-02-15 12:16:31 -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 13106c2227 minor cleanup 2008-02-12 17:19:55 -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 48b96a9e5b Documentation updates, tags updates 2008-02-07 19:51:37 -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 4ce8df0fd0 Merge branch 'master' of git://factorcode.org/git/erg 2008-02-04 17:55:29 -06:00
Doug Coleman 1ae14bbacf skeletonize mysql 2008-02-04 17:53:04 -06:00
Doug Coleman 5c21b08606 remove a line of comments 2008-02-04 17:11:55 -06:00
Doug Coleman 354d85342e remove dependency on sqlite3 binary 2008-02-04 13:57:22 -06:00
Doug Coleman 4066e1ca6b start mysql 2008-02-04 13:34:01 -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 5fca4ce7a0 Merge git://factorcode.org/git/factor
Conflicts:

	extra/db/postgresql/ffi/ffi.factor
2008-02-02 09:58:57 -06:00
Doug Coleman 71358d3c4a first commit of db stuff 2008-02-01 17:43:44 -06:00