1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fixed an incorrect calculation of JOIN_CACHE::max_buff_size.

This commit is contained in:
Igor Babaev
2010-09-01 23:11:14 -07:00
parent 5dec6cca5f
commit f83cc50793
4 changed files with 25 additions and 6 deletions

View File

@ -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;