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.