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

Modified Files:
      Tag: M5XQ
        xml2lalg.c 
Log Message:
propagated changes of Wednesday May 27 2009 - Thursday May 28 2009
from the development trunk to the M5XQ branch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/27 - ts-tum: compiler/xmlimport/xml2lalg.c,1.36
-- 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.32.2.2
retrieving revision 1.32.2.3
diff -u -d -r1.32.2.2 -r1.32.2.3
--- xml2lalg.c  12 May 2009 13:36:05 -0000      1.32.2.2
+++ xml2lalg.c  28 May 2009 15:12:00 -0000      1.32.2.3
@@ -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