Age | Commit message (Expand) | Author |
---|---|---|
2016-08-29 | coverity#1371317 avoid unnecessary copies | Caolán McNamara |
--- src/core/CLucene/index/SegmentInfos.cpp +++ src/core/CLucene/index/SegmentInfos.cpp @@ -358,7 +358,7 @@ if (delGen == NO) { // In this case we know there is no deletion filename // against this segment - return NULL; + return {}; } else { // If delGen is CHECK_DIR, it's the pre-lockless-commit file format return IndexFileNames::fileNameFromGeneration(name.c_str(), (string(".") + IndexFileNames::DELETES_EXTENSION).c_str(), delGen); t logo'/>
summaryrefslogtreecommitdiff |
Age | Commit message (Expand) | Author |
---|---|---|
2016-08-29 | coverity#1371317 avoid unnecessary copies | Caolán McNamara |