summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-12-10 13:36:58 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2015-12-10 13:36:58 +0100
commit6eb86763619be92f73ba91a126313351b6155d8e (patch)
tree94bb1385aad7bc3c52327526d795935a3bc7833e /sql/sql_select.cc
parentb07043fd5154d507b173059c8fd889c4e484b140 (diff)
downloadmariadb-git-6eb86763619be92f73ba91a126313351b6155d8e.tar.gz
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)
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index d097f3e28ad..8ce5c9703ef 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -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.