Changeset: 21ce19e9660c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=21ce19e9660c
Modified Files:
monetdb5/optimizer/opt_pipes.c
Branch: Jul2015
Log Message:
Use an existing user id to initialize a client context.
diffs (12 lines):
diff --git a/monetdb5/optimizer/opt_pipes.c b/monetdb5/optimizer/opt_pipes.c
--- a/monetdb5/optimizer/opt_pipes.c
+++ b/monetdb5/optimizer/opt_pipes.c
@@ -377,7 +377,7 @@ compileOptimizer(Client cntxt, str name)
for (i = 0; i < MAXOPTPIPES && pipes[i].name; i++) {
if (strcmp(pipes[i].name, name) == 0 && pipes[i].mb == 0) {
/* precompile the pipeline as MAL string */
- MCinitClientRecord(&c,(oid) 1, 0, 0);
+ MCinitClientRecord(&c, cntxt->user, 0, 0);
c.nspace = newModule(NULL, putName("user", 4));
c.father = cntxt; /* to avoid conflicts on GDKin
*/
c.fdout = cntxt->fdout;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list