Changeset 64949 in vbox for trunk/src/VBox/ValidationKit/testmanager
- Timestamp:
- Dec 17, 2016 8:48:47 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112362
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/db/partial-db-dump.py
r64948 r64949 238 238 'TestGroupMembers', 239 239 'SchedGroups', 240 'TestBoxStrTab', 240 241 'TestBoxes', 241 242 'SchedGroupMembers', … … 262 263 cRows = oDb.fetchOne()[0]; 263 264 cMaxRows = 0; 264 if sTable in [ 'SchedGroups', 'Test ResultStrTab', 'Users' ]: cMaxRows = 1;265 if sTable in [ 'SchedGroups', 'TestBoxStrTab', 'TestResultStrTab', 'Users' ]: cMaxRows = 1; 265 266 if cRows > cMaxRows: 266 267 print 'error: Table %s has %u rows which is more than %u - refusing to delete and load.' \ … … 270 271 271 272 print 'Dropping default table content...\n' 272 for sTable in [ 'SchedGroups', 'Test ResultStrTab', 'Users']:273 for sTable in [ 'SchedGroups', 'TestBoxStrTab', 'TestResultStrTab', 'Users']: 273 274 oDb.execute('DELETE FROM ' + sTable); 274 275 … … 296 297 ( 'TestGroupIdSeq', 'TestGroups', 'idTestGroup' ), 297 298 ( 'SchedGroupIdSeq', 'SchedGroups', 'idSchedGroup' ), 299 ( 'TestBoxStrTabIdSeq', 'TestBoxStrTab', 'idStr' ), 298 300 ( 'TestBoxIdSeq', 'TestBoxes', 'idTestBox' ), 299 301 ( 'TestBoxGenIdSeq', 'TestBoxes', 'idGenTestBox' ),
Note:
See TracChangeset
for help on using the changeset viewer.