#1706: Result cache not database specific
-----------------------------------+----------------------------------------
Reporter: hobodave | Owner: romanb
Type: defect | Status: new
Priority: critical | Milestone: 1.0.5
Component: Caching | Version: 1.0.4
Keywords: result cache | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
The result cache (and possibly the query cache) does not cache the results
of a query with any association to the database that the results were
retrieved from.
e.g. Assume two databases dbA and dbB with identical schemas, yet
completely different data. If a query such as $query->from('User
u')->execute(); is executed with a connection to dbA, these results are
cached as expected. However, upon making the same query with a connection
to dbB, the results from dbA are retrieved from cache.
This = a very bad day when released in a production environment. :)
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1706>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---