Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11089/include
Modified Files:
algebra.h
Log Message:
-- First steps to get rid of bit-encoded column names:
o The planner and the MIL generation do not rely
on bit-encoded columns anymore.
o A global counter allows to assign new column names
without the need to analyze the plan before.
o Operator la_eqjoin_unq is only introduced in the
join pushdown phase and a normal eqjoin is available
for all other phases working on unique column names.
o Changed the required node optimization phase to cope
with unique column names.
U algebra.h
Index: algebra.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/algebra.h,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- algebra.h 13 Jun 2008 12:50:46 -0000 1.88
+++ algebra.h 18 Jun 2008 11:24:30 -0000 1.89
@@ -491,21 +491,33 @@
char * PFatt_str (PFalg_att_t att);
/**
+ * Initialize the column name counter.
+ */
+void PFalg_init (void);
+
+/**
* Checks whether a name is unique or not.
*/
bool PFalg_is_unq_name (PFalg_att_t att);
/**
- * Return the id of a unique name
+ * Return a new unique column name
*/
-unsigned int PFalg_unq_name_id (PFalg_att_t att);
+PFalg_att_t PFalg_new_name (PFalg_att_t att);
/**
- * Create a unique name based on an id @a id and
+ * Create a unique name based on an original bit-encoded name @a ori
+ * that retains the usage information of the new variable (iter, pos
+ * or item).
+ */
+PFalg_att_t PFalg_unq_name (PFalg_att_t ori);
+
+/**
+ * Create an unique name based on an id @a id and
* an original name @a ori that retains the usage information
* of the new variable (iter, pos or item).
*/
-PFalg_att_t PFalg_unq_name (PFalg_att_t ori, unsigned int id);
+PFalg_att_t PFalg_unq_fixed_name (PFalg_att_t ori, unsigned int id);
/**
* Create an original column name based on an unique name @a unq
-------------------------------------------------------------------------
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