diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 24bc0f1bdf9..55d0ade1bf7 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -2678,6 +2678,10 @@ consecutive_loop: if (array == os_aio_write_array) { if ((total_len % UNIV_PAGE_SIZE != 0) || (slot->offset % UNIV_PAGE_SIZE != 0)) { + fprintf(stderr, +"InnoDB: Error: trying a displaced write to %s %lu %lu, len %lu\n", + slot->name, slot->offset_high, + slot->offset, total_len); ut_a(0); }