logging fix
This commit is contained in:
parent
67b9e49d99
commit
2de515f703
|
@ -482,7 +482,7 @@ public:
|
||||||
*self->firstPages[1] = *(const Page*)pageData.begin();
|
*self->firstPages[1] = *(const Page*)pageData.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
DbgPage* dbgPage = *(DbgPage*)pageData.begin();
|
DbgPage* dbgPage = (DbgPage*)pageData.begin();
|
||||||
TraceEvent("RDQWrite", self->dbgid).detail("File1name", self->files[1].dbgFilename).detail("File1size", self->files[1].size)
|
TraceEvent("RDQWrite", self->dbgid).detail("File1name", self->files[1].dbgFilename).detail("File1size", self->files[1].size)
|
||||||
.detail("WritingPos", self->writingPos).detail("WritingBytes", pageData.size()).detail("Seq", dbgPage->seq);
|
.detail("WritingPos", self->writingPos).detail("WritingBytes", pageData.size()).detail("Seq", dbgPage->seq);
|
||||||
self->files[1].size = std::max(self->files[1].size, self->writingPos + pageData.size());
|
self->files[1].size = std::max(self->files[1].size, self->writingPos + pageData.size());
|
||||||
|
|
Loading…
Reference in New Issue