support for memo types (inline only)

text required fields
corrections to bitmask sizing.
moved references to page size to MdbHandle->pg_size
This commit is contained in:
brianb
2000-03-16 02:16:35 +00:00
parent 62e65cdd26
commit 9551d017a8
6 changed files with 37 additions and 19 deletions

View File

@@ -103,6 +103,13 @@ int name_sz;
memset(&col,'\0', sizeof(MdbColumn));
col.col_type = mdb->pg_buf[cur_col];
if (col.col_type == MDB_TEXT) {
col.is_fixed = mdb->pg_buf[cur_col+3];
} else if (col.col_type == MDB_MEMO) {
col.is_fixed = 0;
} else {
col.is_fixed = 1;
}
col.col_size = mdb_get_int16(mdb,cur_col+16);
/* get the name */
name_sz = mdb->pg_buf[cur_name];