Changeset: f08c9a7b5ae8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f08c9a7b5ae8
Modified Files:
monetdb5/modules/mal/mkey.c
Branch: DVframework
Log Message:
mkey bug fixed: now mapping types of calc.rotate_xor_hash to the storage types
using ATOMstorage as well, so that the hashes match while using a multi-column
pkey index with a timestamp value in a select query.
diffs (12 lines):
diff --git a/monetdb5/modules/mal/mkey.c b/monetdb5/modules/mal/mkey.c
--- a/monetdb5/modules/mal/mkey.c
+++ b/monetdb5/modules/mal/mkey.c
@@ -242,7 +242,7 @@ MKEYrotate_xor_hash(Client cntxt, MalBlk
wrd *dst = (wrd*) getArgReference(stk,p,0);
wrd *h = (wrd*) getArgReference(stk,p,1);
int *rotate = (int*) getArgReference(stk,p,2);
- int tpe = getArgType(mb,p,3);
+ int tpe = ATOMstorage(getArgType(mb,p,3));
ptr *pval = (ptr) getArgReference(stk,p,3);
int lbit = *rotate;
int rbit = (sizeof(wrd)*8) - *rotate;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list