mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-3858 Change JOIN_TAB::records_read from ha_rows to double
Currently JOIN_TAB::records_read is of type ha_rows. This is an integer type, which prevents proper selectivity and rows estimates.
This commit is contained in:
@ -280,8 +280,8 @@ typedef struct st_join_table {
|
||||
*/
|
||||
double read_time;
|
||||
|
||||
/* psergey-todo: make the below have type double, like POSITION::records_read? */
|
||||
ha_rows records_read;
|
||||
/* Copy of POSITION::records_read, set by get_best_combination() */
|
||||
double records_read;
|
||||
|
||||
/* Startup cost for execution */
|
||||
double startup_cost;
|
||||
|
Reference in New Issue
Block a user