Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12720/compiler/debug

Modified Files:
        physdebug.c 
Log Message:
Physical level implementation for the error operator.


Index: physdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/physdebug.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- physdebug.c 6 Dec 2007 08:42:35 -0000       1.44
+++ physdebug.c 11 Dec 2007 14:25:55 -0000      1.45
@@ -121,6 +121,7 @@
     , [pa_fragment]        = "FRAGs"
     , [pa_frag_union]      = "FRAG_UNION"
     , [pa_empty_frag]      = "EMPTY_FRAG"
+    , [pa_error]           = "!ERROR"
     , [pa_cond_err]        = "!ERROR"
     , [pa_nil]             = "nil"
     , [pa_trace]           = "trace"
@@ -205,6 +206,7 @@
     , [pa_fragment]        = "frags"
     , [pa_frag_union]      = "frag_union"
     , [pa_empty_frag]      = "empty_frag"
+    , [pa_error]           = "!ERROR"
     , [pa_cond_err]        = "!ERROR"
     , [pa_nil]             = "nil"
     , [pa_trace]           = "trace"
@@ -403,6 +405,7 @@
         , [pa_fragment]        = "\"#E0E0E0\""
         , [pa_frag_union]      = "\"#E0E0E0\""
         , [pa_empty_frag]      = "\"#E0E0E0\""
+        , [pa_error]           = "\"#C0C0C0\""
         , [pa_cond_err]        = "\"#C0C0C0\""
         , [pa_nil]             = "\"#FFFFFF\""
         , [pa_trace]           = "\"#FF5500\""
@@ -725,6 +728,10 @@
                             PFatt_str (n->sem.iter_item1_item2.item2));
             break;
 
+        case pa_error:
+            PFarray_printf (dot, "%s: (%s)", a_id[n->kind],
+                            PFatt_str (n->sem.ii.item));
+            break;
         case pa_cond_err:
             PFarray_printf (dot, "%s (%s)\\n%s ...", a_id[n->kind],
                             PFatt_str (n->sem.err.att),
@@ -1625,7 +1632,9 @@
                             PFatt_str (n->sem.ii.iter),
                             PFatt_str (n->sem.ii.item));
             break;
-        
+       
+        case pa_error:
+            break; 
         case pa_cond_err:
             PFarray_printf (xml,
                             "    <content>\n"


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to