1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-18553: MDEV-16327 pre-requisits part 3: move kill check in one place

Kill check moved from send_data() methids in its wrapper:
send_data_with_check().
This commit is contained in:
Oleksandr Byelkin
2019-09-30 17:20:28 +02:00
parent 1ae02f0e0d
commit a6de640804
5 changed files with 6 additions and 22 deletions

View File

@ -103,9 +103,6 @@ bool Pushdown_select::send_data()
Protocol *protocol= thd->protocol;
DBUG_ENTER("Pushdown_select::send_data");
if (thd->killed == ABORT_QUERY)
DBUG_RETURN(false);
protocol->prepare_for_resend();
if (protocol->send_result_set_row(&result_columns))
{