(ha_innodb.cc:9037) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

This commit is contained in:
Vasil Dimov 2010-09-20 19:04:14 +03:00
commit 86d0e51a9e

View file

@ -9034,12 +9034,9 @@ innodb_show_status(
mutex_exit(&srv_monitor_file_mutex);
bool result = FALSE;
stat_print(thd, innobase_hton_name, (uint) strlen(innobase_hton_name),
STRING_WITH_LEN(""), str, flen);
if (stat_print(thd, innobase_hton_name, (uint) strlen(innobase_hton_name),
STRING_WITH_LEN(""), str, flen)) {
result= TRUE;
}
my_free(str);
DBUG_RETURN(FALSE);