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

Modified Files:
        xml2lalg.c 
Log Message:
-- Added a check to the xml-importer that the root-operator of an imported 
algebra-plan must be a serialize-operator.

U xml2lalg.c
Index: xml2lalg.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- xml2lalg.c  7 May 2009 20:00:17 -0000       1.35
+++ xml2lalg.c  27 May 2009 16:19:10 -0000      1.36
@@ -601,6 +601,11 @@
 
         PFla_op_t* rootNode = getRootNode(ctx, nodePtr);
 
+               assert(rootNode);
+
+               assert(rootNode->kind == la_serialize_seq 
+                       || rootNode->kind == la_serialize_rel);
+
         return rootNode;
     }
 


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to