aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/connection-factory.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-27 18:06:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-27 18:06:45 +0200
commit28f395dfddc5070c3917f186d414e3b47a09f919 (patch)
treef66e3eb2eb80284e107540ae06ecf8f57b7b58fa /odb/mysql/connection-factory.cxx
parentb7a9147867e3b99e0bb44daffa3a2c6aec10ff4b (diff)
Update with notes/fixes for 5.7
Diffstat (limited to 'odb/mysql/connection-factory.cxx')
-rw-r--r--odb/mysql/connection-factory.cxx2
1 files changed, 2 insertions, 0 deletions
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