1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed compiler warnings

client/mysqltest.cc:
  Added cast
plugin/feedback/utils.cc:
  Added #ifdef
sql/sql_select.cc:
  Added cast
sql/sys_vars.h:
  Changed limits to int
support-files/compiler_warnings.supp:
  Added suppression
This commit is contained in:
Michael Widenius
2012-07-06 19:04:52 +03:00
parent 69b817755a
commit f27c26e95a
5 changed files with 6 additions and 4 deletions

View File

@ -6651,7 +6651,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;