knplabs/knp-components — Issue #1: Error when using APC query cache
Author: solzenic
Created: 2011-11-21 15:23:24+00:00
State: open

When query cache is used HINT for $limitSubQuery in QuerySubscriber is not registered.

Fix in QuerySubscriber:

// line 46
$limitSubQuery = QueryHelper::cloneQuery($query);
$limitSubQuery->useQueryCache(false);

This is probably not the only place where this error occurs.