Commit Graph

27 Commits (fa2a0dc7792a41f5bce660d6520b81f048f6e01c)

Author SHA1 Message Date
John Benediktsson 708dc35965 db.sqlite: use temporary test.db for tests. 2016-11-08 09:32:45 -08:00
Björn Lindqvist ebdf57d175 db.sqlite: fix the delete constraint for the restrict case 2016-08-25 13:52:44 +02:00
Björn Lindqvist 66083e263c db.sqlite: fix text of generated triggers
An opening brace was missing for some variables
2016-08-25 13:10:42 +02:00
Doug Coleman 858c9b3a96 db.sqlite: Fix NULL returns for INTEGER columns in sqlite
The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.

Fixes #1674.
2016-07-22 08:20:56 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 5759f72745 db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes #631. Fixes #623. 2013-03-29 17:33:54 -07:00
Doug Coleman 8b51ddcbe2 sqlite: Fix using. 2012-08-26 11:57:24 -07:00
Doug Coleman bf4d4f73a2 db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647. 2012-08-26 00:09:31 -07:00
Doug Coleman 8b5a2f4a0e fix sqlite triggers -- NEW.table-id not NEW.foreign-table-id 2009-02-20 14:52:38 -06:00
Daniel Ehrenberg dd1587c745 Fixing SQLite unit tests 2009-02-19 18:52:45 -06:00
Doug Coleman a61bac7ab5 fix sqlite foreign triggers create/delete bug
ignore-errors only if there is a sql spec defined for the class until database-specific errors are implemented
2009-02-19 18:26:11 -06:00
Daniel Ehrenberg f3db8fdc4a Another failing unit test for db.sqlite 2009-02-13 16:07:17 -06:00
Daniel Ehrenberg 8253bf4662 Another failing test in db.sqlite 2009-02-13 16:05:18 -06:00
Daniel Ehrenberg d09567e31e Failing test case for db.sqlite 2009-02-12 21:59:59 -06:00
Daniel Ehrenberg c4f45e3f74 Fixing bug in db (don't use unparse!), adding still-failing unit test 2009-02-12 17:13:01 -06:00
Daniel Ehrenberg eaaf2af7b7 Fixing db.sqlite bug: database schema don't need primary keys 2009-02-12 01:39:14 -06:00
Doug Coleman 4329578b2f add a new db-connection tuple for live database connections instead of reusing the db setup tuple
update sqlite and postgresql backends for the change
2008-12-17 19:35:53 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
Doug Coleman 50493ba446 fix unit tests 2008-10-02 16:02:31 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman b23ac6f137 fix stack effects, remove two redundant sqlite ffi words, minor cleanups 2008-09-02 22:50:46 -05:00
Doug Coleman c30a6511d1 move db to basis 2008-09-02 18:26:31 -05:00