306:edefddec933d
Anton Shestakov <av6@dwimlabs.net>, Sun, 24 Sep 2017 12:25:05 +0800
viewer: use subqueries to get data on index page Before, there were bare columns in the aggregate query, their values were undefined (but it somehow worked), as SQLite docs say. Good news is that now this bigger query uses (project_id, ordinal) index and is really fast.

/tests/

.. drwxr-xr-x
test_adapters.py 1976 -rw-r--r-- file | revisions | annotate
test_checker.py 1019 -rw-r--r-- file | revisions | annotate
test_hooks_queue.py 3078 -rw-r--r-- file | revisions | annotate
test_incoming.py 2673 -rw-r--r-- file | revisions | annotate
test_models.py 1974 -rw-r--r-- file | revisions | annotate
test_utils.py 692 -rw-r--r-- file | revisions | annotate
test_viewer.py 7628 -rw-r--r-- file | revisions | annotate