Affects Version/s: 1.2.2
Fix Version/s: None
I have fixed this in my own version of doctrine but unfortunately I am to far diverged from the trunk to offer a patch.
here is a test case:
To fix the issue I changed this line in Doctrine_Query as follows:
Hope that helps.