revert part of opensolaris patch--pack recordids again

This commit is contained in:
Sears Russell 2009-11-30 01:01:30 +00:00
parent 85c8e9f82c
commit 7d1b702239

View file

@ -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.