You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I think that in the "RC RM_FileHandle::GetNextFreePage(PageNum& pageNum)" function in line https://github.com/junkumar/redbase/blob/master/src/rm_filehandle.cc#L119 ,
the value of "hdr.numPages == 0" should be changed from 0 to 1, because if this is the first time, then the initial value of the number of pages was set from the rm_manager in the CreateFile() function and it was set to 1.
The text was updated successfully, but these errors were encountered:
Hi, I think that in the "RC RM_FileHandle::GetNextFreePage(PageNum& pageNum)" function in line https://github.com/junkumar/redbase/blob/master/src/rm_filehandle.cc#L119 ,
the value of "hdr.numPages == 0" should be changed from 0 to 1, because if this is the first time, then the initial value of the number of pages was set from the rm_manager in the CreateFile() function and it was set to 1.
The text was updated successfully, but these errors were encountered: