summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2010-09-01 23:11:14 -0700
committerIgor Babaev <igor@askmonty.org>2010-09-01 23:11:14 -0700
commitf83cc50793578b8c0b6570a91934f6a02ace879f (patch)
tree0d5b62f9e6a5d9a4d6b5da0aaa013d8b28d2ef45 /sql/sql_select.h
parent5dec6cca5f7a3285c1af29dd5ee516d457a8e0c5 (diff)
downloadmariadb-git-f83cc50793578b8c0b6570a91934f6a02ace879f.tar.gz
Fixed an incorrect calculation of JOIN_CACHE::max_buff_size.
Diffstat (limited to 'sql/sql_select.h')
-rwxr-xr-xsql/sql_select.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 251a3869d8c..b78603ca9ca 100755
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -216,7 +216,9 @@ typedef struct st_join_table {
E(#records) is in found_records.
*/
ha_rows read_time;
-
+
+ double partial_join_cardinality;
+
table_map dependent,key_dependent;
uint use_quick,index;
uint status; ///< Save status for cache
@@ -386,6 +388,7 @@ typedef struct st_join_table {
calc_used_field_length(TRUE);
return max_used_fieldlength;
}
+ double get_partial_join_cardinality() { return partial_join_cardinality; }
} JOIN_TAB;