diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-11-13 18:14:44 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-11-15 18:09:30 +0100 |
commit | a808c18b736762384e835746d19c7dae97d38990 (patch) | |
tree | dd4334503028b70c15016d1f49046151905ce349 /storage/innobase/include/buf0dump.h | |
parent | 4e30a57e6bae7296972865e836913ba7e5e3cdf6 (diff) | |
download | mariadb-git-a808c18b736762384e835746d19c7dae97d38990.tar.gz |
Make .clang-format work with clang-8
Remove keywords that are too new.
Diffstat (limited to 'storage/innobase/include/buf0dump.h')
-rw-r--r-- | storage/innobase/include/buf0dump.h | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/storage/innobase/include/buf0dump.h b/storage/innobase/include/buf0dump.h index b8d790d3b13..485869007be 100644 --- a/storage/innobase/include/buf0dump.h +++ b/storage/innobase/include/buf0dump.h @@ -1,6 +1,7 @@ /***************************************************************************** Copyright (c) 2011, 2014, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 2019, 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 @@ -26,33 +27,13 @@ Created April 08, 2011 Vasil Dimov #ifndef buf0dump_h #define buf0dump_h -#include "univ.i" - -/*****************************************************************//** -Starts the buffer pool dump/load task dump/load thread and instructs it to start -a dump. This function is called by MySQL code via buffer_pool_dump_now() -and it should return immediately because the whole MySQL is frozen during -its execution. */ -void -buf_dump_start(); -/*============*/ - -/*****************************************************************//** -Starts the buffer pool dump/load task (if not started) and instructs it to start -a load. This function is called by MySQL code via buffer_pool_load_now() -and it should return immediately because the whole MySQL is frozen during -its execution. */ -void -buf_load_start(); -/*============*/ - -/*****************************************************************//** -Aborts a currently running buffer pool load. This function is called by -MySQL code via buffer_pool_load_abort() and it should return immediately -because the whole MySQL is frozen during its execution. */ -void -buf_load_abort(); -/*============*/ +/** Start the buffer pool dump/load task and instructs it to start a dump. */ +void buf_dump_start(); +/** Start the buffer pool dump/load task and instructs it to start a load. */ +void buf_load_start(); + +/** Abort a currently running buffer pool load. */ +void buf_load_abort(); /** Start async buffer pool load, if srv_buffer_pool_load_at_startup was set.*/ void buf_load_at_startup(); |