opnsense-ports/databases/mysql-connector-odbc/files/patch-driver_dll.cc
Franco Fichtner 6c54ab69a0 */*: sync with upstream
Taken from: HardenedBSD
2021-07-21 08:08:56 +02:00

11 lines
327 B
C++

--- 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
/*