Update of /cvsroot/monetdb/sql/src/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12431/src/include

Modified Files:
        sql_catalog.h 
Log Message:
added support for 'create cluster name on tname ( column list )'
which caused lots of changes all over the place.

also fixed (moved code out of sql -> mkey)
moved finally copy into over to a function and into relational alg.



U sql_catalog.h
Index: sql_catalog.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/include/sql_catalog.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- sql_catalog.h       9 Jun 2009 07:53:26 -0000       1.65
+++ sql_catalog.h       25 Jul 2009 22:08:37 -0000      1.66
@@ -252,11 +252,14 @@
 typedef enum idx_type {
        hash_idx,
        join_idx,
-       clustered,
+       clustered,              /* ie has a clustered replica */
+       isclustered,            /* the table is (kept) clustered */
+       oph_idx,                /* order preserving hash */
        new_idx_types
 } idx_type;
 
-#define idx_is_column(t)       (t == hash_idx || t == join_idx)
+#define hash_index(t)          (t == hash_idx || t == oph_idx )
+#define idx_is_column(t)       (hash_index(t) || t == join_idx)
 
 typedef struct sql_idx {
        sql_base base;
@@ -390,6 +393,8 @@
        int  sz;
 
        sql_ukey *pkey;
+       sql_idx  *cluster;      /* cluster column list */
+       int clustered;          /* is clustered or needs a recluster round */
        changeset columns;
        changeset idxs;
        changeset keys;


------------------------------------------------------------------------------
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to