summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 0fe3d11e404..779a109367c 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -1098,10 +1098,11 @@ void st_select_lex_node::fast_exclude()
{
if ((*link_prev= link_next))
link_next->link_prev= link_prev;
- // Remove slave structure
- for (; slave; slave= slave->next)
- slave->fast_exclude();
}
+ // Remove slave structure
+ for (; slave; slave= slave->next)
+ slave->fast_exclude();
+
}
/*