summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2018-01-21 13:12:33 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2018-01-22 15:39:42 +0200
commit6d826e3d7ee9af0af2b81d96b69edd6cf8d00423 (patch)
treec18e449b39a9253a24b768e55d0eff8dcf0b88db
parent03eb15933da9944e821bc8c787f84de50e823da0 (diff)
downloadmariadb-git-6d826e3d7ee9af0af2b81d96b69edd6cf8d00423.tar.gz
Remove commented out code post merge fix in 2011
-rw-r--r--sql/sql_select.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index f7624b2b56c..02a3f0590ac 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -696,12 +696,11 @@ JOIN::prepare(Item ***rref_pointer_array,
}
table_count= select_lex->leaf_tables.elements;
-
+
TABLE_LIST *tbl;
List_iterator_fast<TABLE_LIST> li(select_lex->leaf_tables);
while ((tbl= li++))
{
- //table_count++; /* Count the number of tables in the join. */
/*
If the query uses implicit grouping where the select list contains both
aggregate functions and non-aggregate fields, any non-aggregated field