Bugs item #2809053, was opened at 2009-06-19 16:09
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2809053&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB Common "stable"
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Fabian (mr-meltdown)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: absolute logdir produces other path than relative
Initial Comment:
from gdk_logger.mx:
if (MT_path_absolute(logdir))
snprintf(filename, BUFSIZ, "%s%c%s%c%s%c", logdir, DIR_SEP, dbname,
DIR_SEP, fn, DIR_SEP);
else {
char *dbfarm = GDKgetenv("gdk_dbfarm");
snprintf(filename, BUFSIZ, "%s%c%s%c%s%c%s%c", dbfarm, DIR_SEP, dbname,
DIR_SEP, logdir, DIR_SEP, fn, DIR_SEP);
}
problem here is that on the default for SQL of sql_logs, the actual logdir
becomes: /dbfarm/dbname/sql_logs/sql/
Now if I set an absolute logdir to /dbfarm/dbname/sql_logs (user visible part),
the actual logdir becomes: /dbfarm/dbname/sql_logs/dbname/sql/
this is unexpected, as dbname is magically inserted. I suggest removing the
dbname, such that the absolute equivalent of a relative logdir yields in the
same path.
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-06-24 17:33
Message:
The absolute pathname option is for backward compatibility. With the
previous release, if you used your path /dbfarm/dbname/sql_logs in the
logdir option, the result would also be
/dbfarm/dbname/sql_logs/dbname/sql/. This cannot be changed
retroactively.
I'm closing this with Won't Fix.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2809053&group_id=56967
------------------------------------------------------------------------------
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs