Revision 2f906450
ID | 2f9064503a33669909f054ffeefaf2220b857043 |
Simplify query to avoid hitting db stack limit
Refs #3479
Looking up (entity, resource) pairs created a huge query formula
in disjunctive normal form, which apparently brought the db parser
to its limits.
It has been replaced by selecting the holdings by entity only.
This means that in theory we lock more holdings than needed (for any
resource for a given entity), but in practice we would need to
select these holdings anyway.
Files
- added
- modified
- copied
- renamed
- deleted