Zero out memory at initilization

This commit is contained in:
Sears Russell 2008-02-19 21:29:46 +00:00
parent 175b7e281e
commit 1846340251

View file

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