| 8478 | */ |
| 8479 | |
| 8480 | int handler::prepare_for_modify(bool can_set_fields, bool can_lookup) |
| 8481 | { |
| 8482 | if (table->open_hlindexes_for_write()) |
| 8483 | return 1; |
| 8484 | |
| 8485 | if (can_set_fields) |
| 8486 | { |
| 8487 | /* Preparation for unique of blob's */ |
| 8488 | if (table->s->long_unique_table || table->s->period.unique_keys) |
| 8489 | { |
| 8490 | if (can_lookup && create_lookup_handler()) |
| 8491 | return 1; |
| 8492 | alloc_lookup_buffer(); |
| 8493 | } |
| 8494 | } |
| 8495 | return 0; |
| 8496 | } |
| 8497 | |
| 8498 | |
| 8499 | int handler::ha_write_row(const uchar *buf) |
no test coverage detected