1
0
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:
unknown
2012-11-15 12:54:50 +02:00
parent dbb8d954fd
commit cd2feb659b
4 changed files with 16 additions and 15 deletions

View File

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