VirtualBox

Changeset 86990 in vbox


Ignore:
Timestamp:
Nov 26, 2020 2:32:06 PM (4 years ago)
Author:
vboxsync
Message:

testmanager/partial-db-dump.py: There is no need for dumping all of VcsRevisions since it'll just get bigger and bigger. It can be recreated from the VCS repo. bugref:9788

File:
1 edited

Legend:

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

    r86989 r86990  
    101101        'TestBoxesInSchedGroups',       # ?
    102102        'SchedQueues',
    103         'VcsRevisions',                 # ?
    104103        'TestResultStrTab',             # 36K rows, never mind complicated then.
    105104    ];
     
    119118        'TestBoxStrTab',
    120119        'SystemLog',
     120        'VcsRevisions',
    121121    ];
    122122
     
    208208                           , ( idFirstTestSet, idLastTestSet, idLastTestResult, tsEffective,));
    209209
    210         # Tables which goes exclusively by tsCreated.
    211         for sTable in [ 'SystemLog', ]:
     210        # Tables which goes exclusively by tsCreated using tsEffectiveSafe.
     211        for sTable in [ 'SystemLog', 'VcsRevisions' ]:
    212212            self._doCopyTo(sTable, oZipFile, oDb,
    213213                           'COPY (SELECT * FROM ' + sTable + ' WHERE tsCreated >= %s) TO STDOUT WITH (FORMAT TEXT)',
    214                            (tsEffective,));
     214                           (tsEffectiveSafe,));
    215215
    216216        # The builds table.
Note: See TracChangeset for help on using the changeset viewer.

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