revert part of opensolaris patch--pack recordids again
This commit is contained in:
parent
85c8e9f82c
commit
7d1b702239
1 changed files with 4 additions and 0 deletions
|
@ -134,18 +134,22 @@ typedef int16_t pagetype_t;
|
||||||
* represents how to look up a record on a page
|
* represents how to look up a record on a page
|
||||||
* @todo int64_t (for recordid.size) is a stopgap fix.
|
* @todo int64_t (for recordid.size) is a stopgap fix.
|
||||||
*/
|
*/
|
||||||
|
#pragma pack(push,1)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
pageid_t page;
|
pageid_t page;
|
||||||
slotid_t slot;
|
slotid_t slot;
|
||||||
int64_t size;
|
int64_t size;
|
||||||
} recordid;
|
} recordid;
|
||||||
|
#pragma pack(pop)
|
||||||
|
|
||||||
// TODO move blob_record_t into an operation header.
|
// TODO move blob_record_t into an operation header.
|
||||||
|
#pragma pack(push,1)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
size_t offset;
|
size_t offset;
|
||||||
size_t size;
|
size_t size;
|
||||||
// unsigned fd : 1;
|
// unsigned fd : 1;
|
||||||
} blob_record_t;
|
} blob_record_t;
|
||||||
|
#pragma pack(pop)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Define Page as an incomplete type to hide its implementation from clients.
|
Define Page as an incomplete type to hide its implementation from clients.
|
||||||
|
|
Loading…
Reference in a new issue