Commit 666c0141 authored by Vasil Dimov's avatar Vasil Dimov

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

parent 80226874
...@@ -4455,7 +4455,6 @@ dict_index_print_low( ...@@ -4455,7 +4455,6 @@ dict_index_print_low(
{ {
ib_int64_t n_vals; ib_int64_t n_vals;
ulint i; ulint i;
const char* type_string;
ut_ad(mutex_own(&(dict_sys->mutex))); ut_ad(mutex_own(&(dict_sys->mutex)));
...@@ -4470,14 +4469,6 @@ dict_index_print_low( ...@@ -4470,14 +4469,6 @@ dict_index_print_low(
dict_index_stat_mutex_exit(index); 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, fprintf(stderr,
" INDEX: name %s, id %llu, fields %lu/%lu," " INDEX: name %s, id %llu, fields %lu/%lu,"
" uniq %lu, type %lu\n" " uniq %lu, type %lu\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment