mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2188: DQL arithmetic priority is not considered in expression 'a/(b*c)' #2755
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Dec 5, 2012).
Jira issue originally created by user mdehghani:
A DQL query that contains an arithmetic expression like 'a/(bc)' will be compiled to 'a/b*c' in SQL and therefore the result of '100/(22)' will be 100, instead of 25.
Note: I have tested it by mysql only
@doctrinebot commented on GitHub (Mar 16, 2013):
Comment created by @ocramius:
Being handled in DDC-2355
@doctrinebot commented on GitHub (Apr 6, 2013):
Issue was closed with resolution "Fixed"