logging fix

This commit is contained in:
Evan Tschannen 2021-03-18 21:35:56 -07:00
parent 67b9e49d99
commit 2de515f703
1 changed files with 1 additions and 1 deletions

View File

@ -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());