summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index ce2ed623406..3956651c57b 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -350,6 +350,12 @@ typedef struct st_join_table {
/* Copy of POSITION::records_out, set by get_best_combination() */
double records_out;
+ /*
+ Copy of POSITION::read_time, set by get_best_combination(). The cost of
+ accessing the table in course of the join execution.
+ */
+ double join_read_time;
+
/* The selectivity of the conditions that can be pushed to the table */
double cond_selectivity;