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

Closed
doctrinebot opened this Issue Dec 5, 2012 · 2 comments

1 participant

@doctrinebot

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

Comment created by @ocramius:

Being handled in DDC-2355

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment