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

Modified Files:
        logical.c 
Log Message:
-- Changed the semantic content of the la_ref_tbl operator.
-- In the semantic content of the la_ref_tbl operator we now store the 
*positions* (w.r.t. the schema) of key attributes instead of their names, so 
that renamings of attribute names (e.g. by some plan optimization phases) don't 
have to be done additionally on this key attribute infos.

Index: logical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/logical.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- logical.c   6 Dec 2007 08:42:13 -0000       1.68
+++ logical.c   6 Dec 2007 22:41:33 -0000       1.69
@@ -445,9 +445,8 @@
  *                with annotated types.
  * @param tatts   String list ("external" attribute/column
  *                names).
- * @param keys    Attribute list ("internal" attribute names) of
- *                key attributes.
- *
+ * @param keys    Array holding the *positions* (w.r.t. the 
+ *                schema) of key attributes
  */
 PFla_op_t *
 PFla_ref_tbl_ (const char* name,
@@ -493,7 +492,7 @@
             *(char**) PFarray_add (ret->sem.ref_tbl.tatts) = copiedValue;
     }
 
-
+    
     /* (it's save to) shallow copy the list of key-attribute-names */
     ret->sem.ref_tbl.keys  = PFarray_copy(keys);
 


-------------------------------------------------------------------------
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