Commit 695230c0 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-19940: Fix integer type mismatch

parent 8773bee9
...@@ -7177,7 +7177,6 @@ buf_print_io( ...@@ -7177,7 +7177,6 @@ buf_print_io(
/*=========*/ /*=========*/
FILE* file) /*!< in/out: buffer where to print */ FILE* file) /*!< in/out: buffer where to print */
{ {
ulint i;
buf_pool_info_t* pool_info; buf_pool_info_t* pool_info;
buf_pool_info_t* pool_info_total; buf_pool_info_t* pool_info_total;
...@@ -7197,7 +7196,7 @@ buf_print_io( ...@@ -7197,7 +7196,7 @@ buf_print_io(
ut_zalloc_nokey(sizeof *pool_info)); ut_zalloc_nokey(sizeof *pool_info));
} }
for (i = 0; i < srv_buf_pool_instances; i++) { for (uint i = 0; i < srv_buf_pool_instances; i++) {
buf_pool_t* buf_pool; buf_pool_t* buf_pool;
buf_pool = buf_pool_from_array(i); buf_pool = buf_pool_from_array(i);
...@@ -7224,8 +7223,8 @@ buf_print_io( ...@@ -7224,8 +7223,8 @@ buf_print_io(
"INDIVIDUAL BUFFER POOL INFO\n" "INDIVIDUAL BUFFER POOL INFO\n"
"----------------------\n", file); "----------------------\n", file);
for (i = 0; i < srv_buf_pool_instances; i++) { for (uint i = 0; i < srv_buf_pool_instances; i++) {
fprintf(file, "---BUFFER POOL " ULINTPF "\n", i); fprintf(file, "---BUFFER POOL %u\n", i);
buf_print_io_instance(&pool_info[i], file); buf_print_io_instance(&pool_info[i], file);
} }
} }
......
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