summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-10-06 12:31:19 +0300
committerSergei Petrunia <sergey@mariadb.com>2023-01-30 15:22:21 +0200
commit4062fc28bd7c307d7a6b1987df071a3195b8e9b6 (patch)
tree8aee3ed8bceea555102a14717b19061a9e24515b /sql/opt_subselect.h
parent87d4d7232c72b525451972cea28fc50eb7033b29 (diff)
downloadmariadb-git-4062fc28bd7c307d7a6b1987df071a3195b8e9b6.tar.gz
Optimizer code cleanups, no logic changes
- Updated comments - Added some extra DEBUG - Indentation changes and break long lines - Trivial code changes like: - Combining 2 statements in one - Reorder DBUG lines - Use a variable to store a pointer that is used multiple times - Moved declaration of variables to start of loop/function - Removed dead or commented code - Removed wrong DBUG_EXECUTE code in best_extension_by_limited_search()
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r--sql/opt_subselect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h
index 7b1b810ee81..cc6d2fbbecb 100644
--- a/sql/opt_subselect.h
+++ b/sql/opt_subselect.h
@@ -320,7 +320,7 @@ void optimize_semi_joins(JOIN *join, table_map remaining_tables, uint idx,
void update_sj_state(JOIN *join, const JOIN_TAB *new_tab,
uint idx, table_map remaining_tables);
void restore_prev_sj_state(const table_map remaining_tables,
- const JOIN_TAB *tab, uint idx);
+ const JOIN_TAB *tab, uint idx);
void fix_semijoin_strategies_for_picked_join_order(JOIN *join);