diff options
author | Dan McGee <dan@archlinux.org> | 2012-10-12 11:34:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-10-12 11:35:28 -0500 |
commit | a71aa2e354599950f4bd464f0f19215f1c581141 (patch) | |
tree | 2d9ffa08831d69c6fbd5b30e96f0320e6babfbe0 /main/templatetags/cdn.py | |
parent | f0b7e73de61c03a5018ed352605e6329611448d2 (diff) |
Make wrong permissions query more efficient
This removes the subplan and per-row query in favor of a LEFT JOIN where
we look for non-matching rows. Tested in sqlite3 and PostgreSQL.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/templatetags/cdn.py')
0 files changed, 0 insertions, 0 deletions