From 28f395dfddc5070c3917f186d414e3b47a09f919 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 27 Nov 2016 18:06:45 +0200 Subject: Update with notes/fixes for 5.7 --- odb/mysql/connection-factory.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/mysql/connection-factory.cxx') diff --git a/odb/mysql/connection-factory.cxx b/odb/mysql/connection-factory.cxx index a8d0caf..fb1b2cd 100644 --- a/odb/mysql/connection-factory.cxx +++ b/odb/mysql/connection-factory.cxx @@ -33,6 +33,8 @@ // 1. MySQL doesn't use the destructor itself. // 2. Nobody else tried to call mysql_thread_end() before us. // +// Note: in 5.7 the key has been made static and is no longer accessible. +// #if defined(ODB_THREADS_POSIX) && defined(LIBODB_MYSQL_THR_KEY_VISIBLE) extern pthread_key_t THR_KEY_mysys; #endif -- cgit v1.1