Fix undefined behavior where struct members are written to disk and restored later in a situation where they are unused but can contain random values that are not proper booleans, which ubsan complains about.
This commit is contained in:
parent
aa8ab494a2
commit
f09bdc840c
|
@ -1496,8 +1496,8 @@ public:
|
|||
int64_t numEntries;
|
||||
int dataBytesPerPage;
|
||||
int pagesPerExtent;
|
||||
bool usesExtents;
|
||||
bool tailPageNewExtent;
|
||||
bool usesExtents = false;
|
||||
bool tailPageNewExtent = false;
|
||||
LogicalPageID prevExtentEndPageID;
|
||||
|
||||
Cursor headReader;
|
||||
|
|
Loading…
Reference in New Issue