mirror of https://github.com/apache/lucene.git
LUCENE-3606: Fix one nocommit by removal :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13294b07cc
commit
ba1306c296
|
@ -211,7 +211,7 @@ class DirectoryReader extends IndexReader implements Cloneable {
|
|||
readerShared[i] = false;
|
||||
newReaders[i] = newReader;
|
||||
} else {
|
||||
newReader = newReaders[i].reopenSegment(infos.info(i), doClone, true /* nocommit: remove readOnly */);
|
||||
newReader = newReaders[i].reopenSegment(infos.info(i), doClone, true);
|
||||
if (newReader == null) {
|
||||
// this reader will be shared between the old and the new one,
|
||||
// so we must incRef it
|
||||
|
|
Loading…
Reference in New Issue