Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29486/debug

Modified Files:
        logdebug.c physdebug.c 
Log Message:
- Implement pf:product(), pf:log() and pf:sqrt() for the algebra version.
  There is one remaining problem pf:product(()) returns 0 instead of 1.



U logdebug.c
Index: logdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/logdebug.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- logdebug.c  10 Mar 2009 09:55:05 -0000      1.123
+++ logdebug.c  10 Mar 2009 12:20:42 -0000      1.124
@@ -83,6 +83,7 @@
     , [la_max]              = "MAX"
     , [la_min]              = "MIN"
     , [la_sum]              = "SUM"
+    , [la_prod]             = "PROD"
     , [la_count]            = "COUNT"
     , [la_rownum]           = "ROWNUM"
     , [la_rowrank]          = "ROWRANK"
@@ -166,6 +167,7 @@
     , [la_max]              = "max"
     , [la_min]              = "min"
     , [la_sum]              = "sum"
+    , [la_prod]             = "prod"
     , [la_count]            = "count"
     , [la_rownum]           = "rownum"
     , [la_rowrank]          = "rowrank"
@@ -425,6 +427,7 @@
         , [la_max]             = "#A0A0A0"
         , [la_min]             = "#A0A0A0"
         , [la_sum]             = "#A0A0A0"
+        , [la_prod]            = "#A0A0A0"
         , [la_count]           = "#A0A0A0"
         , [la_rownum]          = "#FF0000"
         , [la_rowrank]         = "#FF0000"
@@ -731,6 +734,7 @@
         case la_max:
         case la_min:
         case la_sum:
+        case la_prod:
         case la_seqty1:
         case la_all:
             if (n->sem.aggr.part == col_NULL)
@@ -2020,6 +2024,7 @@
         case la_max:
         case la_min:
         case la_sum:
+        case la_prod:
         case la_seqty1:
         case la_all:
             PFarray_printf (xml,

U physdebug.c
Index: physdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/physdebug.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- physdebug.c 6 Feb 2009 13:01:35 -0000       1.74
+++ physdebug.c 10 Mar 2009 12:20:42 -0000      1.75
@@ -91,6 +91,7 @@
     , [pa_min]             = "MAX"
     , [pa_max]             = "MIN"
     , [pa_sum]             = "SUM"
+    , [pa_prod]            = "PRODUCT"
     , [pa_count_ext]       = "{COUNT}"
     , [pa_count]           = "COUNT"
     , [pa_mark]            = "mark"
@@ -239,6 +240,7 @@
         , [pa_max]             = "\"#A0A0A0\""
         , [pa_min]             = "\"#A0A0A0\""
         , [pa_sum]             = "\"#A0A0A0\""
+        , [pa_prod]            = "\"#A0A0A0\""
         , [pa_count_ext]       = "\"#A0A0A0\""
         , [pa_count]           = "\"#A0A0A0\""
         , [pa_mark]            = "\"#FFBBBB\""
@@ -476,6 +478,7 @@
         case pa_max:
         case pa_min:
         case pa_sum:
+        case pa_prod:
         case pa_seqty1:
         case pa_all:
             if (n->sem.aggr.part == col_NULL)


------------------------------------------------------------------------------
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to