Update of /cvsroot/monetdb/sql/src/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17938/src/include

Modified Files:
      Tag: Nov2009
        sql_relation.h 
Log Message:
add optimizer step to fix div by zero problems


Index: sql_relation.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/include/sql_relation.h,v
retrieving revision 1.37
retrieving revision 1.37.2.1
diff -u -d -r1.37 -r1.37.2.1
--- sql_relation.h      14 Sep 2009 18:20:28 -0000      1.37
+++ sql_relation.h      11 Nov 2009 13:37:52 -0000      1.37.2.1
@@ -92,6 +92,8 @@
 
 #define is_column(et) \
        (et != e_cmp)
+#define is_rank_op(e) \
+       (e->type == e_func && e->r)
 #define is_base(op) \
        (op == op_basetable || op == op_table)
 #define is_outerjoin(op) \


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to