Bugs item #2809053, was opened at 2009-06-19 16:09
Message generated for change (Tracker Item Submitted) made by mr-meltdown
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: Open
Resolution: None
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2809053&group_id=56967

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to