Example #1
0
/* PostOpenAdd
 *  handle opening of a column after the cursor is opened
 */
rc_t VCursorPostOpenAdd ( VCursor *self, VColumn *col )
{
    rc_t rc = VCursorPostOpenAddRead ( self, col );

    if ( ! self -> read_only && rc == 0 && self -> state == vcRowOpen )
    {
        int64_t row_id = self -> row_id;
        WColumnOpenRow ( col, & row_id );
    }

    return rc;
}
Example #2
0
/* PostOpenAdd
 *  handle opening of a column after the cursor is opened
 */
rc_t VCursorPostOpenAdd ( VCursor *self, VColumn *col )
{
    return VCursorPostOpenAddRead ( self, col );
}