Closed (fixed)
Project:
ACL
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 07:57 UTC
Updated:
1 May 2011 at 20:41 UTC
Jump to comment: Most recent file
acl_node_clear_acls() potentially loads a huge number of records instead of using a subquery.
This needs to be fixed.
We also need to look at the other functions for similar problems and then backport to D6.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | optimize-acl_node_clear_acls.852486.2.patch | 778 bytes | salvis |
Comments
Comment #1
good_man commentedis limiting the similar queries (checking existence) to return only one row a one way to optimize it?
Comment #2
salvisIt's not just about checking existence. The array is subsequently passed on to db_delete().
Could the attached patch work?
Comment #3
salvisComment #4
salvisCommitted in BETA3.