MCPcopy Create free account
hub / github.com/MariaDB/server / prepare_for_modify

Method prepare_for_modify

sql/handler.cc:8480–8496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8478*/
8479
8480int 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
8499int handler::ha_write_row(const uchar *buf)

Callers 8

prepare_for_replaceFunction · 0.80
handle_insertsMethod · 0.80
update_single_tableMethod · 0.80
initialize_tablesMethod · 0.80
copy_data_between_tablesFunction · 0.80
do_apply_eventMethod · 0.80
initialize_tablesMethod · 0.80

Calls 1

Tested by

no test coverage detected