(dict0dict.c:4458) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

This commit is contained in:
Vasil Dimov 2010-09-20 18:47:15 +03:00
parent 977d0e0524
commit 72a65da579

View file

@ -4455,7 +4455,6 @@ dict_index_print_low(
{
ib_int64_t n_vals;
ulint i;
const char* type_string;
ut_ad(mutex_own(&(dict_sys->mutex)));
@ -4470,14 +4469,6 @@ dict_index_print_low(
dict_index_stat_mutex_exit(index);
if (dict_index_is_clust(index)) {
type_string = "clustered index";
} else if (dict_index_is_unique(index)) {
type_string = "unique index";
} else {
type_string = "secondary index";
}
fprintf(stderr,
" INDEX: name %s, id %llu, fields %lu/%lu,"
" uniq %lu, type %lu\n"