Changeset: 63636aa65bcb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=63636aa65bcb
Modified Files:
        
Branch: default
Log Message:

merged with Jun2010 branch


diffs (105 lines):

diff -r 394707c186c7 -r 63636aa65bcb 
MonetDB4/src/modules/plain/aggrX3_be_minmax.mx
--- a/MonetDB4/src/modules/plain/aggrX3_be_minmax.mx    Mon Aug 23 16:53:50 
2010 +0200
+++ b/MonetDB4/src/modules/plain/aggrX3_be_minmax.mx    Mon Aug 23 22:21:43 
2010 +0200
@@ -115,7 +115,7 @@
                ptr val = extrem...@8];
                (void) h;       /* silence compiler about unused variable */
                /* trick: using a void head-type, only the tail are 
(over)written */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), val?val:nil);
+               Tputvalue(bn, BUNtloc(bni,r), val?val:nil, 0);
        }
 @c
 /*     aggrX3_minmax_oid
@@ -200,7 +200,7 @@
                oid val = h...@8] ? extrem...@8] : *(oid*)nil;
                (void) h;       /* silence compiler about unused variable */
                /* trick: using a void head-type, only the tail are 
(over)written */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), &val);
+               Tputvalue(bn, BUNtloc(bni,r), &val, 0);
        }
 @c
 
diff -r 394707c186c7 -r 63636aa65bcb 
MonetDB4/src/modules/plain/aggrX3_bge_minmax.mx
--- a/MonetDB4/src/modules/plain/aggrX3_bge_minmax.mx   Mon Aug 23 16:53:50 
2010 +0200
+++ b/MonetDB4/src/modules/plain/aggrX3_bge_minmax.mx   Mon Aug 23 22:21:43 
2010 +0200
@@ -127,7 +127,7 @@
                oid *h = (oid*)b...@4(bni,r);
                ptr val = extrem...@8];
                (void) h;       /* silence compiler about unused variable */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), val?val:nil);
+               Tputvalue(bn, BUNtloc(bni,r), val?val:nil, 0);
        }
 @c
 /*     aggrX3_minmax3_oid
@@ -224,7 +224,7 @@
                oid *h = (oid*)b...@4(bni,r);
                oid val = h...@8] ? extrem...@8] : *(oid*)nil;
                (void) h;       /* silence compiler about unused variable */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), &val);
+               Tputvalue(bn, BUNtloc(bni,r), &val, 0);
        }
 @c
 
diff -r 394707c186c7 -r 63636aa65bcb 
MonetDB5/src/modules/kernel/aggr_be_minmax.mx
--- a/MonetDB5/src/modules/kernel/aggr_be_minmax.mx     Mon Aug 23 16:53:50 
2010 +0200
+++ b/MonetDB5/src/modules/kernel/aggr_be_minmax.mx     Mon Aug 23 22:21:43 
2010 +0200
@@ -118,7 +118,7 @@
                ptr val = extrem...@8];
                (void) h;       /* silence compiler about unused variable */
                /* trick: using a void head-type, only the tail are 
(over)written */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), val?val:nil);
+               Tputvalue(bn, BUNtloc(bni,r), val?val:nil, 0);
        }
        BATaccessEnd(bn,USE_HEAD|USE_TAIL,MMAP_SEQUENTIAL);
 @c
@@ -209,7 +209,7 @@
                oid val = h...@8] ? extrem...@8] : *(oid*)nil;
                (void) h;       /* silence compiler about unused variable */
                /* trick: using a void head-type, only the tail are 
(over)written */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), &val);
+               Tputvalue(bn, BUNtloc(bni,r), &val, 0);
        }
        BATaccessEnd(bn,USE_HEAD|USE_TAIL,MMAP_SEQUENTIAL);
 @c
diff -r 394707c186c7 -r 63636aa65bcb 
MonetDB5/src/modules/kernel/aggr_bge_minmax.mx
--- a/MonetDB5/src/modules/kernel/aggr_bge_minmax.mx    Mon Aug 23 16:53:50 
2010 +0200
+++ b/MonetDB5/src/modules/kernel/aggr_bge_minmax.mx    Mon Aug 23 22:21:43 
2010 +0200
@@ -98,7 +98,7 @@
                oid *h = (oid*)b...@4(bni,r);
                ptr val = extrem...@8];
                (void) h;       /* silence compiler about unused variable */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), val?val:nil);
+               Tputvalue(bn, BUNtloc(bni,r), val?val:nil, 0);
        }
        BATaccessEnd(bn,USE_HEAD|USE_TAIL,MMAP_SEQUENTIAL);
 @c
@@ -264,7 +264,7 @@
                oid *h = (oid*)b...@4(bni,r);
                oid val = h...@8] ? extrem...@8] : *(oid*)nil;
                (void) h;       /* silence compiler about unused variable */
-               ATOMput(bn->ttype, bn->T->vheap, BUNtloc(bni,r), &val);
+               Tputvalue(bn, BUNtloc(bni,r), &val, 0);
        }
 @c
 
diff -r 394707c186c7 -r 63636aa65bcb MonetDB5/src/modules/kernel/batcast.mx
--- a/MonetDB5/src/modules/kernel/batcast.mx    Mon Aug 23 16:53:50 2010 +0200
+++ b/MonetDB5/src/modules/kernel/batcast.mx    Mon Aug 23 22:21:43 2010 +0200
@@ -235,7 +235,7 @@
                @1 *v = (@1*)BUNtail(bi,p);
 
                @1ToStr(&dst,&len, (ptr) v);
-               ATOMput(ty...@1, bn->T->vheap, Tloc(bn,r), dst);
+               Tputvalue(bn, Tloc(bn,r), dst, 1);
                if (dst) 
                        GDKfree(dst);
        }
@@ -260,7 +260,7 @@
        BATaccessBegin(b, USE_TAIL, MMAP_SEQUENTIAL);
        BATloop(b, p, q) {
                ATOMfromstr(ty...@1, &v, &len, (char *) BUNtvar(bi, p));
-               ATOMput(ty...@1, bn->T->vheap, Tloc(bn, r), v);
+               Tputvalue(bn, Tloc(bn,r), v, 1);
                r++;
        }
        GDKfree(v);
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to