mi_integer mi_tab_nextrow(MI_AM_TABLE_DESC *tableDesc, MI_ROW **row, mi_integer *rowid, mi_integer *fragid)
Use this function from the am_insert purpose function if am_insert can insert more than one new index entry. The values in row, rowid, and fragid replace the new row and row-ID descriptor that the database server passes to am_insert if shared memory holds only one new index entry.
The mi_tab_nextrow() function works together with the following related accessor functions:
For an example of how these three functions work together, refer to Figure 8.
The return value increments for each call to am_insert. The first call to mi_tab_nextrow() returns 0, the second returns 1, and so forth. A negative return value indicates an error.
See the descriptions of: