Changeset: 48629ab4c05d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=48629ab4c05d
Modified Files:
tools/mserver/mserver5.c
Branch: default
Log Message:
Don't create dbpath twice.
diffs (12 lines):
diff --git a/tools/mserver/mserver5.c b/tools/mserver/mserver5.c
--- a/tools/mserver/mserver5.c
+++ b/tools/mserver/mserver5.c
@@ -518,7 +518,7 @@ main(int argc, char **av)
monet_script[i] = NULL;
if (!dbpath) {
dbpath = absolute_path(mo_find_option(set, setlen,
"gdk_dbpath"));
- if (dbpath == NULL || GDKcreatedir(dbpath) != GDK_SUCCEED) {
+ if (!dbpath) {
fprintf(stderr, "!ERROR: cannot allocate memory for
database directory \n");
exit(1);
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list