1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/lib
Alexander 2653d735e2 [DDC-551] Added state of the complete filter collection to the EM
Previously it was sufficient to use the old parser result for a Query if
the DQL didn't change (Query::STATE_CLEAN), but now there must also be
no changes to the filter collection of the EntityManager.

In the old situation each Query object would create a hash of all the
filter objects on it's own. That was not very efficient.

This commit adds the state of the current filter collection to the
EntityManager. The state will be set to FILTERS_STATE_DIRTY as a filter
is enabled, removed or a parameter is set on a filter. The hash is also
computed by the EntityManager, but only if the filter collection is
dirty. This will prevent recalculation of the hash with each query.
2011-08-16 13:34:42 +02:00
..
Doctrine/ORM [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
vendor Bump Common and DBAL to 2.1 2011-07-04 21:33:36 +00:00