[Yum-devel] [PATCH 3/3] Ignore time skew by using sqlite IDs instead to order transactions. BZ 745635

James Antill james at and.org
Thu Oct 13 14:39:23 UTC 2011


---
 yum/history.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/history.py b/yum/history.py
index 8e62f50..0dc28c3 100644
--- a/yum/history.py
+++ b/yum/history.py
@@ -1204,7 +1204,7 @@ class YumHistory:
         if tids and len(tids) <= yum.constants.PATTERNS_INDEXED_MAX:
             params = tids = list(set(tids))
             sql += " WHERE tid IN (%s)" % ", ".join(['?'] * len(tids))
-        sql += " ORDER BY beg_ts DESC, tid ASC"
+        sql += " ORDER BY tid DESC"
         if limit is not None:
             sql += " LIMIT " + str(limit)
         executeSQL(cur, sql, params)
-- 
1.7.6.4



More information about the Yum-devel mailing list