Changeset: 9f63c9d7da57 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9f63c9d7da57 Modified Files: monetdb5/modules/mal/querylog.c Branch: default Log Message:
Force a rename to move BAT out of sight Still querylog.reset() does not permanently remove the underlying BATs. diffs (26 lines): diff --git a/monetdb5/modules/mal/querylog.c b/monetdb5/modules/mal/querylog.c --- a/monetdb5/modules/mal/querylog.c +++ b/monetdb5/modules/mal/querylog.c @@ -157,7 +157,7 @@ QLOGcreate(str hnme, str tnme, int tt) return b; } -#define cleanup(X) if (X) { (X)->batPersistence = TRANSIENT; BBPdecref((X)->batCacheid, TRUE); } (X) = NULL; +#define cleanup(X) if (X) { (X)->batPersistence = TRANSIENT; BBPrename((X)->batCacheid,"_"); BBPreleaseref((X)->batCacheid); } (X) = NULL; static void _QLOGcleanup(void) @@ -258,13 +258,6 @@ QLOGissetFcn(int *ret) return MAL_SUCCEED; } -/*static void -QLOGreclaim(BAT *b){ - BATmode(b, TRANSIENT); - BBPreleaseref(b->batCacheid); -} - -*/ str QLOGreset(int *ret) { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list