rollback PIBinaryLog optimization due to last PIDeque fix

This commit is contained in:
2021-06-11 21:01:25 +03:00
parent d839832ee6
commit 00f76fa6b5

View File

@@ -655,9 +655,7 @@ bool PIBinaryLog::createIndex() {
llong cp = file.pos();
file.seekToBegin();
index.clear();
index = PIVector<BinLogIndex>();
index_pos.clear();
index_pos = PIMap<llong, int>();
parseLog(&file, &binfo, &index);
file.seek(cp);
is_indexed = !index.isEmpty();