Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv13160/runtime
Modified Files:
ll_staircasejoin.mx
Log Message:
ll_child bug fix for JanR:
do not (try to) read beyond the end of a BAT
Thanks to JanR for discovering and reporting this bug.
Index: ll_staircasejoin.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/ll_staircasejoin.mx,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- ll_staircasejoin.mx 8 May 2007 19:47:22 -0000 1.55
+++ ll_staircasejoin.mx 11 May 2007 15:31:23 -0000 1.56
@@ -443,12 +443,10 @@
iter_bun = BUNfirst(iter_bat);
ctx_bun = BUNfirst(ctx_bat);
ctx_last = BUNlast(ctx_bat);
- ctx = *(oid*)BUNtail(ctx_bat,ctx_bun);
@= getnextctx
iter_bun += iter_bunsize;
ctx_bun += ctx_bunsize;
- ctx = *(oid*)BUNtail(ctx_bat,ctx_bun);
@
@= pushctx
si_C new_stack_item;
@@ -478,6 +476,7 @@
the next ctx node (or the end of the stack top
ctx node scope) is reached */
while (ctx_bun < ctx_last && cand_cur <= cand_lst) {
+ ctx = *(oid*)BUNtail(ctx_bat,ctx_bun);
/* if the stack is empty the next ctx node
has to be pushed on the stack
and the next ctx node is called*/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins