Changeset: 4fa1947dd139 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4fa1947dd139
Modified Files:
tools/merovingian/daemon/controlrunner.c
Branch: Dec2016
Log Message:
Fix for "monetdb create -p password database".
When setting the password for the new database, a child of monetdbd
would silently crash and not set the password.
diffs (11 lines):
diff --git a/tools/merovingian/daemon/controlrunner.c
b/tools/merovingian/daemon/controlrunner.c
--- a/tools/merovingian/daemon/controlrunner.c
+++ b/tools/merovingian/daemon/controlrunner.c
@@ -413,6 +413,7 @@ static void ctl_handle_client(
free(sadbfarm);
setlen =
mo_add_option(&set, setlen, opt_cmdline, "gdk_dbpath", buf2);
setlen =
mo_system_config(&set, setlen);
+ BBPaddfarm(buf2, (1 <<
PERSISTENT) | (1 << TRANSIENT));
/* the child, pollute
scope by loading BBP */
if (chdir(q) < 0) {
/* Fabian says
"Ignore the output.
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list