Changeset: a5679954fd1b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a5679954fd1b
Modified Files:
        sql/benchmarks/tpch/LOCKED/Tests/01-22.stable.out
        sql/benchmarks/tpch/LOCKED/Tests/14.stable.out
        sql/benchmarks/tpch/Tests/01-22.stable.out
        sql/benchmarks/tpch/Tests/14.stable.out
        sql/server/sql_parser.y
Branch: default
Log Message:

partial revert of operator precedence.


diffs (61 lines):

diff --git a/sql/benchmarks/tpch/LOCKED/Tests/01-22.stable.out 
b/sql/benchmarks/tpch/LOCKED/Tests/01-22.stable.out
--- a/sql/benchmarks/tpch/LOCKED/Tests/01-22.stable.out
+++ b/sql/benchmarks/tpch/LOCKED/Tests/01-22.stable.out
@@ -479,7 +479,7 @@ Ready.
 % promo_revenue # name
 % decimal # type
 % 21 # length
-[ 15.486545    ]
+[ 15.48        ]
 #select * from optimizer_stats() stats;
 % .stats,      .stats # table_name
 % rewrite,     count # name
diff --git a/sql/benchmarks/tpch/LOCKED/Tests/14.stable.out 
b/sql/benchmarks/tpch/LOCKED/Tests/14.stable.out
--- a/sql/benchmarks/tpch/LOCKED/Tests/14.stable.out
+++ b/sql/benchmarks/tpch/LOCKED/Tests/14.stable.out
@@ -22,7 +22,7 @@ Ready.
 % promo_revenue # name
 % decimal # type
 % 21 # length
-[ 15.486545    ]
+[ 15.48        ]
 #select * from optimizer_stats() stats;
 % .stats,      .stats # table_name
 % rewrite,     count # name
diff --git a/sql/benchmarks/tpch/Tests/01-22.stable.out 
b/sql/benchmarks/tpch/Tests/01-22.stable.out
--- a/sql/benchmarks/tpch/Tests/01-22.stable.out
+++ b/sql/benchmarks/tpch/Tests/01-22.stable.out
@@ -479,7 +479,7 @@ Ready.
 % promo_revenue # name
 % decimal # type
 % 21 # length
-[ 15.486545    ]
+[ 15.48        ]
 #select * from optimizer_stats() stats;
 % .stats,      .stats # table_name
 % rewrite,     count # name
diff --git a/sql/benchmarks/tpch/Tests/14.stable.out 
b/sql/benchmarks/tpch/Tests/14.stable.out
--- a/sql/benchmarks/tpch/Tests/14.stable.out
+++ b/sql/benchmarks/tpch/Tests/14.stable.out
@@ -22,7 +22,7 @@ Ready.
 % promo_revenue # name
 % decimal # type
 % 21 # length
-[ 15.486545    ]
+[ 15.48        ]
 #select * from optimizer_stats() stats;
 % .stats,      .stats # table_name
 % rewrite,     count # name
diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y
--- a/sql/server/sql_parser.y
+++ b/sql/server/sql_parser.y
@@ -518,7 +518,8 @@ int yydebug=1;
 %left <sval> COMPARISON /* <> < > <= >= */
 %left <operation> '+' '-' '&' '|' '^' LEFT_SHIFT RIGHT_SHIFT CONCATSTRING 
SUBSTRING POSITION
 %right UMINUS
-%left <operation> '*' '/' '%'
+%left <operation> '*' 
+%left <operation> '/' '%'
 %left <operation> '~'
 
        /* literal keyword tokens */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to