mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
bugfix: compile InnoDB w/o P_S
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
--source include/have_perfschema.inc
|
||||
--source include/word_size.inc
|
||||
--vertical_results
|
||||
|
||||
|
@@ -620,6 +620,9 @@ do { \
|
||||
do { \
|
||||
PSI_THREAD_CALL(delete_current_thread)(); \
|
||||
} while (0)
|
||||
# else
|
||||
# define pfs_register_thread(key)
|
||||
# define pfs_delete_thread()
|
||||
# endif /* UNIV_PFS_THREAD */
|
||||
|
||||
#ifdef HAVE_PSI_STAGE_INTERFACE
|
||||
|
@@ -122,6 +122,7 @@ support cross-platform development and expose comonly used SQL names. */
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "my_pthread.h"
|
||||
/* Following defines are to enable performance schema
|
||||
instrumentation in each of five InnoDB modules if
|
||||
HAVE_PSI_INTERFACE is defined. */
|
||||
@@ -159,7 +160,6 @@ be excluded from instrumentation. */
|
||||
#include "pfs_thread_provider.h"
|
||||
#endif
|
||||
|
||||
#include "my_pthread.h"
|
||||
#include "mysql/psi/mysql_thread.h"
|
||||
/* For PSI_FILE_CALL(). */
|
||||
/* JAN: TODO: missing 5.7 header */
|
||||
|
@@ -30,6 +30,7 @@ Created 1/20/1994 Heikki Tuuri
|
||||
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef UNIV_INNOCHECKSUM
|
||||
|
||||
|
Reference in New Issue
Block a user