trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] trafodion pull request #1728: [TRAFODION-2626] Make logs directory location ...
Date Wed, 17 Oct 2018 23:43:10 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1728#discussion_r226128603
  
    --- Diff: core/sql/sqludr/SqlUdrPredefLogReader.cpp ---
    @@ -530,37 +530,28 @@ void ReadCppEventsUDFInterface::processData(UDRInvocationInfo &info,
       {
         char* logrootdir = NULL;
         char* confrootdir = NULL;
    +
    +    logrootdir = getenv("TRAF_LOG");
    +    if (strlen(logrootdir) > 1000)
    +	throw UDRException(38001, "TRAF_HOME is longer than 1000 characters");
    --- End diff --
    
    Should say, TRAF_LOG is longer than 1000 characters


---

Mime
View raw message