Adds a void * to Page_s so that page implementations can store information with the pages they manage.
This commit is contained in:
parent
9fd91cffb8
commit
7ca0619db0
1 changed files with 6 additions and 1 deletions
|
@ -164,7 +164,12 @@ struct Page_s {
|
|||
|
||||
*/
|
||||
rwl * loadlatch;
|
||||
|
||||
/**
|
||||
Page type implementatioms may store whatever they'd like in this
|
||||
pointer. It persists from each call to pageLoaded() to the
|
||||
subsequent call to pageFlushed().
|
||||
*/
|
||||
void * impl;
|
||||
};
|
||||
|
||||
#define lsn_ptr(page) (((lsn_t*)(&((page)->memAddr[PAGE_SIZE])))-1)
|
||||
|
|
Loading…
Reference in a new issue