From 2ad65656326373420f1e14513f6b8b9c923cd838 Mon Sep 17 00:00:00 2001 From: "Fabio B. Silva" Date: Sat, 6 Apr 2013 14:53:36 -0300 Subject: [PATCH] Fix parenthesis example --- UPGRADE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index df174de76..fe5f52528 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -18,15 +18,15 @@ That's conceptually wrong, since it might result in wrong values. For example: The DQL: - SELECT 100/(2*2) FROM MyEntity + SELECT 100 / ( 2 * 2 ) FROM MyEntity Before 2.4 it generates the SQL: - SELECT 100/2*2 my_entity + SELECT 100 / 2 * 2 FROM my_entity Now parenthesis are considered, the previous DQL will generate: - SELECT (100/2*2) my_entity + SELECT 100 / (2 * 2) FROM my_entity # Upgrade to 2.3