From 0d34dd7cfb700b91f11c59d189d70142ed652615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 4 Apr 2017 12:19:42 +0300 Subject: [PATCH] MDEV-11840 InnoDB: "Cannot open " should not be an error buf_load(): When the file cannot be opened for reading, issue a note, not an error message. --- storage/innobase/buf/buf0dump.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/buf/buf0dump.cc b/storage/innobase/buf/buf0dump.cc index f7883ded070..9b86b1c16da 100644 --- a/storage/innobase/buf/buf0dump.cc +++ b/storage/innobase/buf/buf0dump.cc @@ -540,7 +540,7 @@ buf_load() f = fopen(full_filename, "r"); if (f == NULL) { - buf_load_status(STATUS_ERR, + buf_load_status(STATUS_INFO, "Cannot open '%s' for reading: %s", full_filename, strerror(errno)); return;