Megatest

Check-in [55530df609]
Login
Overview
Comment:Fixed borked table creation statement.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 55530df60971c03212026da08911d96608fe5246
User & Date: mrwellan on 2011-11-09 15:56:44
Other Links: manifest | tags
Context
2011-11-15
20:42
Cleaned out some junk files check-in: 633d859e65 user: matt tags: trunk
2011-11-09
15:56
Fixed borked table creation statement. check-in: 55530df609 user: mrwellan tags: trunk
09:32
Bumped version to v1.34 check-in: 0ebaf3eeeb user: mrwellan tags: trunk
Changes

Modified db.scm from [807a3e0dc9] to [65214cf6f3].

193
194
195
196
197
198
199
200
201

202
203
204
205
206
207
208
                                category TEXT DEFAULT '',
                                variable TEXT,
	                        value REAL,
	                        expected REAL,
	                        tol REAL,
                                units TEXT,
                                comment TEXT DEFAULT '',
                                status TEXT DEFAULT 'n/a',foss
                              CONSTRAINT test_data UNIQUE (test_id,category,variable));")

       (patch-db))
      ((< mver 1.27)
       (db:set-var db "MEGATEST_VERSION" 1.27)
       (sqlite3:execute db "ALTER TABLE test_data ADD COLUMN type TEXT DEFAULT '';")
       (patch-db))
      ((< mver 1.29)
       (db:set-var db "MEGATEST_VERSION" 1.29)







|

>







193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
                                category TEXT DEFAULT '',
                                variable TEXT,
	                        value REAL,
	                        expected REAL,
	                        tol REAL,
                                units TEXT,
                                comment TEXT DEFAULT '',
                                status TEXT DEFAULT 'n/a',
                              CONSTRAINT test_data UNIQUE (test_id,category,variable));")
       (print "WARNING: Table test_data and test_meta where recreated. Please do megatest -update-meta")
       (patch-db))
      ((< mver 1.27)
       (db:set-var db "MEGATEST_VERSION" 1.27)
       (sqlite3:execute db "ALTER TABLE test_data ADD COLUMN type TEXT DEFAULT '';")
       (patch-db))
      ((< mver 1.29)
       (db:set-var db "MEGATEST_VERSION" 1.29)