Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8795/algebra/prop

Modified Files:
      Tag: XQuery_0-24
        prop_unq_names.c 
Log Message:
-- fix incorrect property inference


U prop_unq_names.c
Index: prop_unq_names.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_unq_names.c,v
retrieving revision 1.33
retrieving revision 1.33.2.1
diff -u -d -r1.33 -r1.33.2.1
--- prop_unq_names.c    3 Apr 2008 12:39:30 -0000       1.33
+++ prop_unq_names.c    28 May 2008 11:14:04 -0000      1.33.2.1
@@ -320,9 +320,13 @@
         case la_semijoin:
             bulk_add_name_pairs (np_list, L(n));
 
-            /* make sure to know the name of the right join argument */
+            n->prop->l_name_pairs = PFarray (sizeof (name_pair_t),
+                                             ARRAY_SIZE(L(n)));
             n->prop->r_name_pairs = PFarray (sizeof (name_pair_t),
                                              ARRAY_SIZE(R(n)));
+            /* make sure to know the names of the inputs */
+            bulk_add_name_pairs (n->prop->l_name_pairs, L(n));
+
             add_name_pair (n->prop->r_name_pairs,
                            n->sem.eqjoin.att2,
                            PFprop_unq_name (R(n)->prop,


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to