Skip to content


DDC-2188: DQL arithmetic priority is not considered in expression 'a/(b*c)' #2881

doctrinebot opened this Issue · 2 comments

1 participant


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


Comment created by @ocramius:

Being handled in DDC-2355


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.