mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-5220 - [PATCH] MariaDB 10.0.4 doesn't compile without perfschema
Fixed the following compilation errors and test failures: - maria SE: "stage_waiting_for_a_resource" wasn't declared w/o PFS - sql_repl.h: PSI_mutex_key is not available in non-PFS builds - mysqld.cc: pfs_param is not available in non-PFS builds - mysqld.cc: init_show_explain_psi_keys() is not available in non-PFS builds - mysqld.cc: call net_before_header_psi, net_after_header_psi even if PFS is not available so that thread enters stage_init at proper time. Fixes sp-threads and a few tests in funcs_1. - myisam_file_io.opt: added missing loose prefix
This commit is contained in:
@@ -134,6 +134,8 @@ private:
|
||||
|
||||
#ifdef HAVE_PSI_INTERFACE
|
||||
void init_show_explain_psi_keys(void);
|
||||
#else
|
||||
#define init_show_explain_psi_keys() /* no-op */
|
||||
#endif
|
||||
|
||||
#endif //SQL_MY_APC_INCLUDED
|
||||
|
Reference in New Issue
Block a user