rollback PIBinaryLog optimization due to last PIDeque fix
This commit is contained in:
@@ -655,9 +655,7 @@ bool PIBinaryLog::createIndex() {
|
|||||||
llong cp = file.pos();
|
llong cp = file.pos();
|
||||||
file.seekToBegin();
|
file.seekToBegin();
|
||||||
index.clear();
|
index.clear();
|
||||||
index = PIVector<BinLogIndex>();
|
|
||||||
index_pos.clear();
|
index_pos.clear();
|
||||||
index_pos = PIMap<llong, int>();
|
|
||||||
parseLog(&file, &binfo, &index);
|
parseLog(&file, &binfo, &index);
|
||||||
file.seek(cp);
|
file.seek(cp);
|
||||||
is_indexed = !index.isEmpty();
|
is_indexed = !index.isEmpty();
|
||||||
|
|||||||
Reference in New Issue
Block a user