1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Added platform key

This commit is contained in:
Antonio Vilar 2014-06-27 22:36:02 +02:00
parent 0dde8585c3
commit 4e61ceb0df

View File

@ -688,7 +688,8 @@ final class Query extends AbstractQuery
->getName();
return md5(
$this->getDql() . serialize($this->_hints) . $platform .
$this->getDql() . serialize($this->_hints) .
'&platform=' . $platform .
($this->_em->hasFilters() ? $this->_em->getFilters()->getHash() : '') .
'&firstResult=' . $this->_firstResult . '&maxResult=' . $this->_maxResults .
'&hydrationMode='.$this->_hydrationMode.'DOCTRINE_QUERY_CACHE_SALT'