summaryrefslogtreecommitdiffstats
path: root/packages/migrations
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-12 18:34:49 +0200
committerDan McGee <dan@archlinux.org>2012-10-12 18:35:28 +0200
commita71aa2e354599950f4bd464f0f19215f1c581141 (patch)
tree2d9ffa08831d69c6fbd5b30e96f0320e6babfbe0 /packages/migrations
parentf0b7e73de61c03a5018ed352605e6329611448d2 (diff)
downloadarchweb-a71aa2e354599950f4bd464f0f19215f1c581141.tar.gz
archweb-a71aa2e354599950f4bd464f0f19215f1c581141.tar.xz
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 'packages/migrations')
0 files changed, 0 insertions, 0 deletions