1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-7215 EXPLAIN REPLACE produces an error: Column count doesn't match value count

removed outdated code which was causing error (no need reassign result for subqueries & Co)
This commit is contained in:
Oleksandr Byelkin
2015-12-10 13:36:58 +01:00
parent b07043fd51
commit 6eb8676361
3 changed files with 30 additions and 5 deletions

View File

@ -3249,11 +3249,6 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
{
if (select_lex->linkage != GLOBAL_OPTIONS_TYPE)
{
//here is EXPLAIN of subselect or derived table
if (join->change_result(result))
{
DBUG_RETURN(TRUE);
}
/*
Original join tabs might be overwritten at first
subselect execution. So we need to restore them.