Changeset: ceb22e55c70a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/ceb22e55c70a Modified Files: sql/backends/monet5/sql_execute.c Branch: default Log Message:
Always reset the MAL buffer size,otherwise you end up with the size of failed queries. diffs (25 lines): diff --git a/sql/backends/monet5/sql_execute.c b/sql/backends/monet5/sql_execute.c --- a/sql/backends/monet5/sql_execute.c +++ b/sql/backends/monet5/sql_execute.c @@ -253,9 +253,7 @@ SQLrun(Client c, mvc *m) c->lastcmd = time(0); msg = runMAL(c, mb, 0, 0); } - if (!msg) { - resetMalBlk(mb); - } + resetMalBlk(mb); } /* after the query has been finished we enter the idle state */ c->idle = time(0); @@ -799,9 +797,7 @@ RAstatement(Client c, MalBlkPtr mb, MalS rel_destroy(rel); if( msg == MAL_SUCCEED) msg = SQLrun(c,m); - if (!msg) { - resetMalBlk(c->curprg->def); - } + resetMalBlk(c->curprg->def); } return RAcommit_statement(be, msg); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list