Commit 867809f2 authored by Sergei Golubchik's avatar Sergei Golubchik

bugfix: compile InnoDB w/o P_S

parent 75925f8f
--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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment