whitespace cleanup
This commit is contained in:
parent
e5528ce218
commit
52055aa20f
1 changed files with 0 additions and 3 deletions
|
@ -165,7 +165,6 @@ int stasis_record_read(int xid, Page * p, recordid rid, byte *buf) {
|
|||
@todo stasis_record_dereference should dispatch via page_impl...
|
||||
*/
|
||||
recordid stasis_record_dereference(int xid, Page * p, recordid rid) {
|
||||
|
||||
int page_type = p->pageType;
|
||||
if(page_type == ARRAY_LIST_PAGE) {
|
||||
rid = stasis_array_list_dereference_recordid(xid, p, rid.slot);
|
||||
|
@ -176,13 +175,11 @@ recordid stasis_record_dereference(int xid, Page * p, recordid rid) {
|
|||
/// -------------- Dispatch functions
|
||||
|
||||
const byte * stasis_record_read_begin(int xid, Page * p, recordid rid) {
|
||||
|
||||
int page_type = p->pageType;
|
||||
assert(page_type);
|
||||
return page_impls[page_type].recordRead(xid, p, rid);
|
||||
}
|
||||
byte * stasis_record_write_begin(int xid, Page * p, recordid rid) {
|
||||
|
||||
int page_type = p->pageType;
|
||||
assert(page_type);
|
||||
assert(stasis_record_length_read(xid, p, rid) == stasis_record_type_to_size(rid.size));
|
||||
|
|
Loading…
Reference in a new issue