Changeset: 33645a29e783 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33645a29e783
Modified Files:
monetdb5/modules/mosaic/mosaic_dictionary.h
monetdb5/modules/mosaic/mosaic_runlength.c
Branch: mosaic
Log Message:
Remove unused macro's.
diffs (44 lines):
diff --git a/monetdb5/modules/mosaic/mosaic_dictionary.h
b/monetdb5/modules/mosaic/mosaic_dictionary.h
--- a/monetdb5/modules/mosaic/mosaic_dictionary.h
+++ b/monetdb5/modules/mosaic/mosaic_dictionary.h
@@ -76,20 +76,6 @@ typedef struct {\
#define MOScodevectorDict(task, NAME, TPE) ((BitVector)
&((DICTBlockHeaderTpe(NAME, TPE)*) (task)->blk)->bitvector)
-#define scan_loop_dictionary(NAME, TPE, CANDITER_NEXT, TEST) {\
- TPE* dict = GET_FINAL_DICT(task, NAME, TPE);\
- BitVector base = MOScodevectorDict(task, NAME, TPE);\
- bte bits = GET_FINAL_BITS(task, NAME);\
- for (oid c = canditer_peekprev(task->ci); !is_oid_nil(c) && c < last; c =
CANDITER_NEXT(task->ci)) {\
- BUN i = (BUN) (c - first);\
- BitVectorChunk j = getBitVector(base,i,bits); \
- v = dict[j];\
- /*TODO: change from control to data dependency.*/\
- if (TEST)\
- *o++ = c;\
- }\
-}
-
#define projection_loop_dictionary(NAME, TPE, CANDITER_NEXT)\
{\
TPE* dict = GET_FINAL_DICT(task, NAME, TPE);\
diff --git a/monetdb5/modules/mosaic/mosaic_runlength.c
b/monetdb5/modules/mosaic/mosaic_runlength.c
--- a/monetdb5/modules/mosaic/mosaic_runlength.c
+++ b/monetdb5/modules/mosaic/mosaic_runlength.c
@@ -87,16 +87,6 @@ MOSlayout_runlength(MOStask* task, BAT *
#undef TPE
#endif
-#define scan_loop_runlength(TPE, CI_NEXT, TEST) \
-{\
- v = GET_VAL_runlength(task, TPE);\
- if (TEST) {\
- for (oid c = canditer_peekprev(task->ci); !is_oid_nil(c) && c < last;
c = CI_NEXT(task->ci)) {\
- *o++ = c;\
- }\
- }\
-}
-
#define NAME runlength
#define TPE bte
#include "mosaic_select_template.h"
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list