Changeset: 6c257a040c0f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6c257a040c0f
Modified Files:
monetdb5/scheduler/run_octopus.c
Branch: default
Log Message:
Pass context to remote module
diffs (29 lines):
diff --git a/monetdb5/scheduler/run_octopus.c b/monetdb5/scheduler/run_octopus.c
--- a/monetdb5/scheduler/run_octopus.c
+++ b/monetdb5/scheduler/run_octopus.c
@@ -637,14 +637,14 @@ OCTOPUSmakeSchedule(Client cntxt, MalBlk
}
static str
-OCTOPUSdisconnect(void)
+OCTOPUSdisconnect(Client cntxt)
{
int i, ret;
str msg = MAL_SUCCEED;
for ( i=0; i< nrpeers; i++)
if ( peers[i].active && peers[i].conn != NULL ) {
- msg = RMTdisconnect(&ret,&peers[i].conn);
+ msg = RMTdisconnect(cntxt,&ret,&peers[i].conn);
GDKfree(peers[i].conn);
peers[i].conn = NULL;
}
@@ -674,7 +674,7 @@ OCTOPUSrun(Client cntxt, MalBlkPtr mb, M
stk->wrapup = NULL;
*res = 0; /* skip to the exit */
- OCTOPUSdisconnect();
+ OCTOPUSdisconnect(cntxt);
return msg;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list