Update of /cvsroot/monetdb/MonetDB5/src/modules/kernel
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3119/src/modules/kernel

Modified Files:
      Tag: GDK-2
        bat5.mx group.mx 
Log Message:
removed the Dimention structure 



Index: bat5.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/bat5.mx,v
retrieving revision 1.20.4.3
retrieving revision 1.20.4.4
diff -u -d -r1.20.4.3 -r1.20.4.4
--- bat5.mx     11 Aug 2007 22:32:00 -0000      1.20.4.3
+++ bat5.mx     15 Aug 2007 09:37:46 -0000      1.20.4.4
@@ -1893,7 +1893,7 @@
                if (partial < nbytes) {
                        /* fill a partial page with nils */
                        ptr nil = ATOMnilptr(bn->ttype);
-                       BUN cur = BUNfirst(bn) + ((dst_off + 
partial)>>bn->T->dim.shift);
+                       BUN cur = BUNfirst(bn) + ((dst_off + 
partial)>>bn->T->shift);
                        BUN end = BUNlast(bn);
 
                        for (; cur < end; cur++) {
@@ -1978,13 +1978,21 @@
        bni = bat_iterator(bn);
        if (bn == NULL) return GDK_FAIL;
         BATinit_idents(bn);
-       bn->H->dim = b->H->dim;
-       bn->T->dim = b->T->dim;
-       bn->htype = TYPE_void;
-       bn->hvarsized = 1;
+
+       bn->H->type = TYPE_void;
+       bn->H->varsized = 1;
+       bn->H->shift = 0;
+       bn->H->width = 0;
+       bn->H->seq = 0;
+
+       bn->T->type = b->T->type;
+       bn->T->varsized = b->T->varsized;
+       bn->T->shift = b->T->shift; 
+       bn->T->width = b->T->width;
+       bn->T->seq = b->T->seq;
+
        bn->tsorted = 0;
        bn->tkey = 0;
-       bn->hseqbase = 0;
        bn->batRestricted = BAT_READ;
        BATsetcount(bn, n = (cnt << REMAP_PAGE_BITS));
        n = tailsize(b,n);

Index: group.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/group.mx,v
retrieving revision 1.92.4.4
retrieving revision 1.92.4.5
diff -u -d -r1.92.4.4 -r1.92.4.5
--- group.mx    11 Aug 2007 22:32:03 -0000      1.92.4.4
+++ group.mx    15 Aug 2007 09:37:46 -0000      1.92.4.5
@@ -1128,7 +1128,7 @@
                                @2
                        }
                        @1
-                       offp[cur] = (base) ? r<<a->T->dim.shift : 
((var_t*)a->T->heap.base)[r];
+                       offp[cur] = (base) ? r<<a->T->shift : 
((var_t*)a->T->heap.base)[r];
                        ids[cur] = o;
                        cur++;
                        this += sizeof(oid);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to