VirtualBox

Changeset 61265 in vbox for trunk


Ignore:
Timestamp:
May 28, 2016 8:03:26 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107557
Message:

partial-db-dump.py: Missed the SchedGroups table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/db/partial-db-dump.py

    r61264 r61265  
    241241            cRows = oDb.fetchOne()[0];
    242242            cMaxRows = 0;
    243             if sTable in [ 'TestResultStrTab', 'Users' ]:        cMaxRows =  1;
     243            if sTable in [ 'SchedGroups', 'TestResultStrTab', 'Users' ]:    cMaxRows =  1;
    244244            if cRows > cMaxRows:
    245245                print 'error: Table %s has %u rows which is more than %u - refusing to delete and load.' \
     
    249249
    250250        print 'Dropping default table content...\n'
    251         for sTable in [ 'TestResultStrTab', 'Users']:
     251        for sTable in [ 'SchedGroups', 'TestResultStrTab', 'Users']:
    252252            oDb.execute('DELETE FROM ' + sTable);
    253253
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette