diff options
author | Igor Babaev <igor@askmonty.org> | 2010-09-01 23:11:14 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2010-09-01 23:11:14 -0700 |
commit | f83cc50793578b8c0b6570a91934f6a02ace879f (patch) | |
tree | 0d5b62f9e6a5d9a4d6b5da0aaa013d8b28d2ef45 /sql/sql_select.h | |
parent | 5dec6cca5f7a3285c1af29dd5ee516d457a8e0c5 (diff) | |
download | mariadb-git-f83cc50793578b8c0b6570a91934f6a02ace879f.tar.gz |
Fixed an incorrect calculation of JOIN_CACHE::max_buff_size.
Diffstat (limited to 'sql/sql_select.h')
-rwxr-xr-x | sql/sql_select.h | 5 |
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; |