Zero out memory at initilization
This commit is contained in:
parent
175b7e281e
commit
1846340251
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ compensated_function recordid __rallocMany(int xid, int parentPage, int recordSi
|
|||
|
||||
Page p;
|
||||
byte buffer[PAGE_SIZE];
|
||||
memset(buffer,0,PAGE_SIZE);
|
||||
p.memAddr = buffer;
|
||||
p.rwlatch = initlock();
|
||||
p.loadlatch = initlock();
|
||||
|
|
Loading…
Reference in a new issue