summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-11-25 05:56:58 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-11-25 05:56:58 +0400
commitf84dbf4b205f311f379a8fd0c6dc1f0fd893e073 (patch)
treea4f730ce795ad5b52aec23ebf6705519c6344487 /sql/sql_select.h
parent694ce95557bc174dae2bc32279024102848cf5ee (diff)
downloadmariadb-git-f84dbf4b205f311f379a8fd0c6dc1f0fd893e073.tar.gz
Semi-join optimizations code cleanup part 2:
- Make EXPLAIN display "Start temporary" at the start of the fanout (it used to display at the first table whose rowid gets into temp. table which is not that useful for the user) - Updated test results (all checked)
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 21c5dc7d65e..2b307c20dbe 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -341,6 +341,8 @@ typedef struct st_join_table {
/* Variables for semi-join duplicate elimination */
SJ_TMP_TABLE *flush_weedout_table;
SJ_TMP_TABLE *check_weed_out_table;
+ /* for EXPLAIN only: */
+ SJ_TMP_TABLE *first_weedout_table;
/*
If set, means we should stop join enumeration after we've got the first