summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-01-28 20:17:54 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2019-01-28 20:17:54 +0100
commit8c2f3e0c16a4b9c2961a474f399b88be5ec330d1 (patch)
treef990f3c613c9f0f35e7a577ccbe13e826ebae164
parent5cdb3fb25e72d806b53fd7aa65b9320f4270f749 (diff)
downloadmariadb-git-8c2f3e0c16a4b9c2961a474f399b88be5ec330d1.tar.gz
Fix detection of version in tokudb
-rw-r--r--storage/tokudb/PerconaFT/portability/toku_instr_mysql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/PerconaFT/portability/toku_instr_mysql.h b/storage/tokudb/PerconaFT/portability/toku_instr_mysql.h
index 695624acd6d..beb833a163c 100644
--- a/storage/tokudb/PerconaFT/portability/toku_instr_mysql.h
+++ b/storage/tokudb/PerconaFT/portability/toku_instr_mysql.h
@@ -16,7 +16,7 @@
#include "mysql/psi/mysql_thread.h" // PSI_mutex
#include "mysql/psi/mysql_stage.h" // PSI_stage
-#if (MYSQL_VERSION_ID >= 80000)
+#if (MYSQL_VERSION_ID >= 80000) && ( MYSQL_VERSION_ID <= 100000)
#include "mysql/psi/mysql_cond.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysql/psi/mysql_rwlock.h"