summaryrefslogtreecommitdiff
path: root/storage/innobase/ibuf
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-01-22 16:53:33 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-01-22 16:53:33 +0200
commit29eeb527fd4496eeb852f4aec80a43e60a1bc10c (patch)
treec4578d5e0017a7468ff44e4bc8817298de0b0619 /storage/innobase/ibuf
parent89ae5d7f2fca3efdea69bf13abb1e2785af7fe10 (diff)
downloadmariadb-git-29eeb527fd4496eeb852f4aec80a43e60a1bc10c.tar.gz
MDEV-12173 "[Warning] Trying to access missing tablespace"
ibuf_merge_or_delete_for_page(): Invoke fil_space_acquire_silent() instead of fil_space_acquire() in order to avoid displaying a useless message. We know perfectly well that a tablespace can be dropped while a change buffer merge is pending, because change buffer merges skip any transactional locks.
Diffstat (limited to 'storage/innobase/ibuf')
-rw-r--r--storage/innobase/ibuf/ibuf0ibuf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/ibuf/ibuf0ibuf.cc b/storage/innobase/ibuf/ibuf0ibuf.cc
index d26391a80f4..7041ad53f0d 100644
--- a/storage/innobase/ibuf/ibuf0ibuf.cc
+++ b/storage/innobase/ibuf/ibuf0ibuf.cc
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2016, 2017, MariaDB Corporation.
+Copyright (c) 2016, 2018, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -4492,7 +4492,7 @@ ibuf_merge_or_delete_for_page(
return;
}
- space = fil_space_acquire(page_id.space());
+ space = fil_space_acquire_silent(page_id.space());
if (UNIV_UNLIKELY(!space)) {
/* Do not try to read the bitmap page from the