trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #647: [TRAFODION-2146] Use of CQD to set sc...
Date Mon, 08 Aug 2016 22:50:53 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/647#discussion_r73970664
  
    --- Diff: core/sql/generator/GenResources.cpp ---
    @@ -97,92 +77,74 @@ static ExScratchDiskDrive * genScratchDriveList(const NAString &def,
       LIST(ExScratchDiskDrive *) tempList;
       CollHeap *heap = generator->wHeap();
       Space *space = generator->getSpace();
    +  struct stat st;
    +  
    + 
    +  Lng32 nodeNum;
    +  char *token = new(heap) char[PATH_MAX];
    --- End diff --
    
    Do you want PATH_MAX+1 to allow for a trailing null?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message