Created bufferPool, moved memory management for page structs to it
This commit is contained in:
parent
c29b16a6ed
commit
ab541b7dc8
2 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ void slottedPageInit() {
|
||||||
lastFreepage = -1;
|
lastFreepage = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void slottedPageDeinit() {
|
void slottedPageDeInit() {
|
||||||
/* pthread_mutex_destroy(&lastFreepage_mutex); */
|
/* pthread_mutex_destroy(&lastFreepage_mutex); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ recordid slottedPostRalloc(int xid, Page * page, lsn_t lsn, recordid rid);
|
||||||
void slottedDeRalloc(int xid, Page * page, lsn_t lsn, recordid rid);
|
void slottedDeRalloc(int xid, Page * page, lsn_t lsn, recordid rid);
|
||||||
|
|
||||||
void slottedPageInit();
|
void slottedPageInit();
|
||||||
void slottedPageDeinit();
|
void slottedPageDeInit();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue