summaryrefslogtreecommitdiff
path: root/storage/innobase/include/log0recv.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2021-03-16 16:09:41 +0300
committerEugene Kosov <claprix@yandex.ru>2021-03-19 11:44:03 +0300
commit62e4aaa2407cc880618fb909c349c9c73174f84a (patch)
tree6fd57b0e99f07dd5d71b8540c417b0f40f9cec45 /storage/innobase/include/log0recv.h
parent40fd42f7f50ce9c85a4b277b3060f865e6852fd5 (diff)
downloadmariadb-git-62e4aaa2407cc880618fb909c349c9c73174f84a.tar.gz
cleanup: os_thread_sleep() -> std::this_thread::sleep_for()
std version has an advantage of a more convenient units implementation from std::chrono. Now it's no need to multipy/divide to bring anything to micro seconds.
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r--storage/innobase/include/log0recv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h
index bc75b5b6796..b3cfb2a1914 100644
--- a/storage/innobase/include/log0recv.h
+++ b/storage/innobase/include/log0recv.h
@@ -32,6 +32,7 @@ Created 9/20/1997 Heikki Tuuri
#include "mtr0types.h"
#include <deque>
+#include <map>
/** @return whether recovery is currently running. */
#define recv_recovery_is_on() UNIV_UNLIKELY(recv_sys.recovery_on)