- Timestamp:
- Mar 24, 2020 4:58:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/schedgroup.py
r83387 r83390 530 530 ORDER BY tsEffective DESC 531 531 ) UNION ( 532 SELECT tsEffective,532 SELECT CASE WHEN tsEffective + %s::INTERVAL = tsExpire THEN tsExpire ELSE tsEffective END, 533 533 uidAuthor 534 534 FROM SchedGroupMembers … … 537 537 ORDER BY tsEffective DESC 538 538 ) UNION ( 539 SELECT tsEffective,539 SELECT CASE WHEN tsEffective + %s::INTERVAL = tsExpire THEN tsExpire ELSE tsEffective END, 540 540 uidAuthor 541 541 FROM TestBoxesInSchedGroups … … 546 546 ORDER BY tsEffective DESC 547 547 LIMIT %s OFFSET %s 548 ''', (idSchedGroup, tsNow, idSchedGroup, tsNow, idSchedGroup, tsNow, cMaxRows + 1, iStart, )); 548 ''', (idSchedGroup, tsNow, 549 db.dbOneTickIntervalString(), idSchedGroup, tsNow, 550 db.dbOneTickIntervalString(), idSchedGroup, tsNow, 551 cMaxRows + 1, iStart, )); 549 552 550 553 aoEntries = [] # type: list[ChangeLogEntry] … … 563 566 # 564 567 for iEntry, oEntry in enumerate(aoEntries): 565 oEntry.oNewRaw = SchedGroupDataEx().initFromDbWithId(self._oDb, idSchedGroup, 566 db.dbTimestampPlusOneTick(oEntry.tsEffective)); 568 oEntry.oNewRaw = SchedGroupDataEx().initFromDbWithId(self._oDb, idSchedGroup, oEntry.tsEffective); 567 569 if iEntry > 0: 568 570 aoEntries[iEntry - 1].oOldRaw = oEntry.oNewRaw;
Note:
See TracChangeset
for help on using the changeset viewer.