From b3146d8194eb3ec694d6473d1eac38de1b4a3e7a Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Thu, 15 Jul 2021 10:10:36 +0000 Subject: databases/mysql-connector-odbc: unbreak the build against MySQL <5.7. PR: 240484 --- databases/mysql-connector-odbc/files/patch-driver_dll.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/mysql-connector-odbc/files/patch-driver_dll.cc (limited to 'databases/mysql-connector-odbc/files/patch-driver_dll.cc') diff --git a/databases/mysql-connector-odbc/files/patch-driver_dll.cc b/databases/mysql-connector-odbc/files/patch-driver_dll.cc new file mode 100644 index 000000000000..b69ce6b9e812 --- /dev/null +++ b/databases/mysql-connector-odbc/files/patch-driver_dll.cc @@ -0,0 +1,11 @@ +--- driver/dll.cc.orig 2019-04-15 16:56:34 UTC ++++ driver/dll.cc +@@ -125,7 +125,7 @@ void myodbc_end() + This eliminates the delay when mysys_end() is called and other threads + have been initialized but not ended. + */ +- my_thread_end_wait_time= 0; ++ static uint my_thread_end_wait_time= 0; + #endif + + /* -- cgit v1.2.3