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

Method send_data

sql/sql_insert.cc:2554–2564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2552}
2553
2554inline
2555int Write_record::send_data()
2556{
2557 /*
2558 We send the row after writing it to the table so that the
2559 correct values are sent to the client. Otherwise it won't show
2560 autoinc values (generated inside the handler::ha_write()) and
2561 values updated in ON DUPLICATE KEY UPDATE.
2562 */
2563 return sink ? sink->send_data(thd->lex->returning()->returning_list) < 0 : 0;
2564}
2565
2566
2567

Callers

nothing calls this directly

Calls 7

returningMethod · 0.80
view_check_optionMethod · 0.80
is_errorMethod · 0.45
write_recordMethod · 0.45
val_intMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected