[Commits] 8c2f3e0c16a: Fix detection of version in tokudb

Oleksandr Byelkin sanja at mariadb.com
Mon Jan 28 21:17:54 EET 2019


revision-id: 8c2f3e0c16a4b9c2961a474f399b88be5ec330d1 (mariadb-10.0.37-64-g8c2f3e0c16a)
parent(s): 5cdb3fb25e72d806b53fd7aa65b9320f4270f749
author: Oleksandr Byelkin
committer: Oleksandr Byelkin
timestamp: 2019-01-28 20:17:54 +0100
message:

Fix detection of version in tokudb

---
 storage/tokudb/PerconaFT/portability/toku_instr_mysql.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"


More information about the commits mailing list