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:
@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user