mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed compiler warnings
sql/item_subselect.cc: Added purecov info sql/sql_select.cc: Added cast storage/innobase/handler/ha_innodb.cc: Added cast storage/xtradb/btr/btr0btr.c: Added buf_block_get_frame_fast() to avoid compiler warning storage/xtradb/handler/ha_innodb.cc: Added cast storage/xtradb/include/buf0buf.h: Innodb has buf_block_get_frame(block) defined as (block)->frame. Didn't want to do a big change to break xtradb as it may use block_get_frame() differently, so I mad this quick hack to patch one compiler warning.
This commit is contained in:
@ -6657,7 +6657,7 @@ double JOIN::get_examined_rows()
|
||||
while ((tab= next_breadth_first_tab(this, tab)))
|
||||
{
|
||||
prev_fanout *= prev_tab->records_read;
|
||||
examined_rows+= tab->get_examined_rows() * prev_fanout;
|
||||
examined_rows+= (ha_rows) (tab->get_examined_rows() * prev_fanout);
|
||||
prev_tab= tab;
|
||||
}
|
||||
return examined_rows;
|
||||
|
Reference in New Issue
Block a user