Commit Graph

86 Commits (b7597fbd8a4dcf5e69c2f94166300b4d84d037b8)

Author SHA1 Message Date
Doug Coleman 93bf51eb68 ensure-table just does [ create-table ] curry ignore-errors
recreate-table is the old ensure-table
2008-04-28 18:21:45 -05:00
Doug Coleman 1c2d252ffd fix randomly generated ids 2008-04-28 17:17:19 -05:00
Doug Coleman 618e10a6b2 refactor db: native-id -> db-assigned-id
assigned-id -> user-assigned-id
2008-04-28 16:48:55 -05:00
Doug Coleman 358bbab861 fix timestamps in db 2008-04-23 22:23:22 -05:00
Doug Coleman 7531b3a1b5 use sqlite_prepare_v2 (freebsd64 now has this symbol too) 2008-04-23 02:46:21 -05:00
Doug Coleman ec54529923 use sqlite_prepare instead of sqlite_prepare_v2 2008-04-22 18:06:50 -05:00
Doug Coleman 5bd3068fb0 remove printf 2008-04-22 19:44:25 -05:00
Doug Coleman 92d54db84f add primary key to modifiers slot in sqlite table 2008-04-21 17:02:12 -05:00
Doug Coleman fc5ca34eda fix teh bugs pl0x 2008-04-21 13:11:19 -05:00
Doug Coleman 411fb2f97d postgresql interval and range and sequence queries 2008-04-21 00:45:14 -05:00
Doug Coleman dfe736a8b9 eliminate tons of code duplication 2008-04-20 17:55:08 -05:00
Doug Coleman 5dc015f0f5 add queries.db to refactor some code 2008-04-20 17:47:43 -05:00
Doug Coleman be8ac1d7b6 use new lookup for sqlite 2008-04-20 16:57:50 -05:00
Doug Coleman 89a728f645 about to consolidate sql types/create types/modifiers 2008-04-20 00:52:05 -05:00
Doug Coleman 4184a3ce54 partial conversion of postgres 2008-04-19 23:18:12 -05:00
Doug Coleman 896c920d85 retryable statements actually retry now 2008-04-19 22:09:36 -05:00
Doug Coleman 9b5351e81f remove extra using 2008-04-19 19:28:25 -05:00
Doug Coleman a81aaa6100 add random-id, still needs to retry if insert fails 2008-04-19 19:27:54 -05:00
Doug Coleman 6044cc4b39 make throwable, nonthrowable, retryable a type 2008-04-18 16:01:31 -05:00
Doug Coleman afaab57f83 interval, range queries in sqlite 2008-04-18 12:43:21 -05:00
Doug Coleman 336e30b054 add interval queries for sqlite 2008-04-17 19:43:07 -05:00
Doug Coleman 5fa3bd8c74 cond/case 2008-04-11 12:55:57 -05:00
Doug Coleman 719fc91432 fix sqlite 2008-04-07 15:27:35 -05:00
Doug Coleman 0804c7e7af cleanup 2008-04-06 01:22:52 -05:00
Doug Coleman aade46d448 sqlite inheritance 2008-04-06 00:37:12 -05:00
Doug Coleman 393f77715c update everything to use os singletons 2008-04-02 18:25:33 -05:00
Slava Pestov adb1dd14d0 Rename tuples vocab to classes.tuple for consistency 2008-03-29 03:34:48 -05:00
Slava Pestov 1f3e6fd0b7 combinators.cleave is now core 2008-03-28 23:00:20 -05:00
Doug Coleman 3e7940216e swap append to swap append
refactoring path+ to append-path
swap path+ to prepend-path
calendar gmt-offset to duration
2008-03-19 19:15:32 -05:00
Doug Coleman 880a3a2af4 before major refactoring 2008-03-17 14:14:04 -05:00
Slava Pestov 604a895f99 Merge branch 'master' of git://factorcode.org/git/factor 2008-03-17 03:28:50 -05:00
Doug Coleman 16e6f36fc9 refactor db
start on random-id
2008-03-17 00:26:05 -05:00
Slava Pestov ea2723a5a0 Fix serialization of circular structure 2008-03-16 23:41:26 -05:00
Doug Coleman 382868b362 add a test to make sure assigned ids can't be inserted twice
fix a bug with sqlite finalizers
2008-03-15 23:21:53 -05:00
Slava Pestov 86ed87da0c Get some db words to infer 2008-03-15 07:57:38 -05:00
Doug Coleman e347e3d7ac fix typo in ffi 2008-03-14 20:52:08 -05:00
Doug Coleman c3d41967f7 fix some formatting 2008-03-13 02:10:43 -05:00
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