Mercurial > hgsubversion
comparison tests/test_unaffected_core.py @ 1476:581f72f9478b
maps: do not ask sqlite for min(rev), max(rev) together
When min(rev) and max(rev) are being asked in a single sql query, sqlite is
not smart enough to use the index and will iterate all rows.
This patch splits the query so it could be answered instantly.
author | Jun Wu <quark@fb.com> |
---|---|
date | Thu, 23 Jun 2016 10:29:58 +0100 |
parents | 38be7a6b6def |
children | 306187268f59 |
comparison
equal
deleted
inserted
replaced
1475:ea4d6142c6d9 | 1476:581f72f9478b |
---|