355
355
virtual int close(void)=0;
358
@retval 0 Bulk update used by Cursor
359
@retval 1 Bulk update not used, normal operation used
361
virtual bool start_bulk_update() { return 1; }
363
@retval 0 Bulk delete used by Cursor
364
@retval 1 Bulk delete not used, normal operation used
366
virtual bool start_bulk_delete() { return 1; }
368
After this call all outstanding updates must be performed. The number
369
of duplicate key errors are reported in the duplicate key parameter.
370
It is allowed to continue to the batched update after this call, the
371
Cursor has to wait until end_bulk_update with changing state.
373
@param dup_key_found Number of duplicate keys found
376
@retval >0 Error code
378
virtual int exec_bulk_update(uint32_t *)
381
return HA_ERR_WRONG_COMMAND;
384
Perform any needed clean-up, no outstanding updates are there at the
387
virtual void end_bulk_update() { return; }
389
Execute all outstanding deletes and close down the bulk delete.
392
@retval >0 Error code
394
virtual int end_bulk_delete()
397
return HA_ERR_WRONG_COMMAND;
401
359
Positions an index cursor to the index specified in the handle. Fetches the
402
360
row if available. If the key value is null, begin at the first key of the