#1492: Non-selected fields appear in query results
------------------------------+---------------------------------------------
  Reporter:  colnector        |       Owner:  romanb               
      Type:  defect           |      Status:  new                  
  Priority:  major            |   Milestone:                       
 Component:  Query/Hydration  |     Version:  1.0                  
Resolution:                   |    Keywords:                       
  Has_test:  0                |    Mystatus:  Pending Core Response
 Has_patch:  0                |  
------------------------------+---------------------------------------------
Comment (by colnector):

 Yes, it is a part of the primary key. However, this is not the expected
 behavior and fields should not be added to the results set. In this simple
 query I have written as an example, there's no excuse (IMHO) for adding
 category_id to the results set. This wrong behavior incurs an obvious
 performance penalty (in addition to delivering unexpected results).

-- 
Ticket URL: <http://trac.phpdoctrine.org/ticket/1492#comment:4>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to