aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-connector-odbc/files/patch-driver_dll.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-connector-odbc/files/patch-driver_dll.cc')
-rw-r--r--databases/mysql-connector-odbc/files/patch-driver_dll.cc11
1 files changed, 11 insertions, 0 deletions
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..402d1b423879
--- /dev/null
+++ b/databases/mysql-connector-odbc/files/patch-driver_dll.cc
@@ -0,0 +1,11 @@
+--- driver/dll.cc.orig 2025-06-19 12:19:21 UTC
++++ driver/dll.cc
+@@ -144,7 +144,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
+ /*
+ When driver is unloaded the plugin pool must be cleared.