« Previous | Next » 

Revision 2f906450


Added by Giorgos Korfiatis over 10 years ago

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.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences