diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-01 01:10:37 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-01 16:52:19 +0300 |
commit | 2b27ac8282ed81b1b0c65e748d66498b81b85cee (patch) | |
tree | 7c4b94e0507fe71392a045477fabdcfbcd80b802 /storage/innobase/include/buf0flu.h | |
parent | 87b0434e0f6ddcf0801355eb08d39c4fd02dd4e9 (diff) | |
download | mariadb-git-2b27ac8282ed81b1b0c65e748d66498b81b85cee.tar.gz |
Fix many -Wunused-parameter
Remove unused InnoDB function parameters and functions.
i_s_sys_virtual_fill_table(): Do not allocate heap memory.
mtr_is_block_fix(): Replace with mtr_memo_contains().
mtr_is_page_fix(): Replace with mtr_memo_contains_page().
Diffstat (limited to 'storage/innobase/include/buf0flu.h')
-rw-r--r-- | storage/innobase/include/buf0flu.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/storage/innobase/include/buf0flu.h b/storage/innobase/include/buf0flu.h index 198f122e5a4..ace2e2f6ef1 100644 --- a/storage/innobase/include/buf0flu.h +++ b/storage/innobase/include/buf0flu.h @@ -217,16 +217,10 @@ buf_flush_ready_for_replace( #ifdef UNIV_DEBUG /** Disables page cleaner threads (coordinator and workers). It's used by: SET GLOBAL innodb_page_cleaner_disabled_debug = 1 (0). -@param[in] thd thread handle -@param[in] var pointer to system variable -@param[out] var_ptr where the formal string goes @param[in] save immediate result from check function */ -void -buf_flush_page_cleaner_disabled_debug_update( - THD* thd, - struct st_mysql_sys_var* var, - void* var_ptr, - const void* save); +void buf_flush_page_cleaner_disabled_debug_update(THD*, + st_mysql_sys_var*, void*, + const void* save); #endif /* UNIV_DEBUG */ /******************************************************************//** |