From: Brian B. <ca...@um...> - 2000-03-19 03:30:19
|
Hi all, I've added support for null columns to data.c It's still preliminary and needs a better way to pass the information back up to the utilities (currently it copys a zero length string when binding during the call to mdb_fetch_row()). The way it works is this: At the end of each data row there is a bitmask of 1 byte per 8 columns. Each bit indicates the presence of a data value for that column (1 indicates value present, 0 indicates a NULL). Column 1 is the low order bit in the first byte. So for a 12 column table with nulls in columns 6 and 12 the bitmask would be 0xbf07 (extra bits are 0'd). After making sure mdb-export is returning the proper number of rows, I'd like to make a new release (0.1 I guess), unless there are any objections. Brian |