- Timestamp:
- May 28, 2016 8:03:26 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107557
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/db/partial-db-dump.py
r61264 r61265 241 241 cRows = oDb.fetchOne()[0]; 242 242 cMaxRows = 0; 243 if sTable in [ ' TestResultStrTab', 'Users' ]:cMaxRows = 1;243 if sTable in [ 'SchedGroups', 'TestResultStrTab', 'Users' ]: cMaxRows = 1; 244 244 if cRows > cMaxRows: 245 245 print 'error: Table %s has %u rows which is more than %u - refusing to delete and load.' \ … … 249 249 250 250 print 'Dropping default table content...\n' 251 for sTable in [ ' TestResultStrTab', 'Users']:251 for sTable in [ 'SchedGroups', 'TestResultStrTab', 'Users']: 252 252 oDb.execute('DELETE FROM ' + sTable); 253 253
Note:
See TracChangeset
for help on using the changeset viewer.