[Yum-devel] [PATCH 3/3] Ignore time skew by using sqlite IDs instead to order transactions. BZ 745635
seth vidal
skvidal at fedoraproject.org
Thu Oct 13 14:50:59 UTC 2011
On Thu, 2011-10-13 at 10:39 -0400, James Antill wrote:
> ---
> 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)
ACK
-sv
More information about the Yum-devel
mailing list