Added support for MDB_BOOL, MDB_MONEY, MDB_BYTE, MDB_SDATETIME

This commit is contained in:
brianb
2001-02-17 04:48:34 +00:00
parent fb576534d8
commit ee6eacbe22
6 changed files with 171 additions and 5 deletions

View File

@@ -107,6 +107,14 @@ off_t offset = pg * mdb->pg_size;
}
return len;
}
unsigned char mdb_get_byte(MdbHandle *mdb, int offset)
{
unsigned char c;
c = mdb->pg_buf[offset];
mdb->cur_pos++;
return c;
}
int mdb_get_int16(MdbHandle *mdb, int offset)
{
unsigned char *c;