Bulk-Library issue

[CR #400849]

If you call blk_done(CS_BLK_CANCEL) before you call blk_done(CS_BLK_ALL), incorrect information about the row data is sent to the Adaptive Server. Adaptive Server generates an error. No invalid data is inserted in the Adaptive Server.