Fix buildbot failures:
- MYSQL_MULTI_DELETE_DONE probe compile failure - show_explain_non_select.test
This commit is contained in:
parent
7be365ea9c
commit
c0a741f005
@ -1,9 +1,9 @@
|
|||||||
#
|
#
|
||||||
# SHOW EXPLAIN tests for non-select subqueries
|
# SHOW EXPLAIN tests for non-select subqueries
|
||||||
#
|
#
|
||||||
#--source include/have_debug.inc
|
--source include/have_debug.inc
|
||||||
#--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
#--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
|
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
drop table if exists t0, t1;
|
drop table if exists t0, t1;
|
||||||
|
@ -3288,7 +3288,7 @@ end_with_restore_list:
|
|||||||
DBUG_ASSERT(first_table == all_tables && first_table != 0);
|
DBUG_ASSERT(first_table == all_tables && first_table != 0);
|
||||||
TABLE_LIST *aux_tables= thd->lex->auxiliary_table_list.first;
|
TABLE_LIST *aux_tables= thd->lex->auxiliary_table_list.first;
|
||||||
bool explain= test(lex->describe);
|
bool explain= test(lex->describe);
|
||||||
select_result *result;
|
multi_delete *result;
|
||||||
|
|
||||||
if ((res= multi_delete_precheck(thd, all_tables)))
|
if ((res= multi_delete_precheck(thd, all_tables)))
|
||||||
break;
|
break;
|
||||||
@ -3328,7 +3328,7 @@ end_with_restore_list:
|
|||||||
result, unit, select_lex);
|
result, unit, select_lex);
|
||||||
res|= thd->is_error();
|
res|= thd->is_error();
|
||||||
|
|
||||||
MYSQL_MULTI_DELETE_DONE(res, del_result->num_deleted());
|
MYSQL_MULTI_DELETE_DONE(res, result->num_deleted());
|
||||||
if (res)
|
if (res)
|
||||||
result->abort_result_set(); /* for both DELETE and EXPLAIN DELETE */
|
result->abort_result_set(); /* for both DELETE and EXPLAIN DELETE */
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user