mariadb/sql-common
Alexey Kopytov 752cbab9a4 Fix for bug #40552: Race condition around default_directories
in load_defaults() 

load_defaults(), my_search_option_files() and 
my_print_default_files()  utilized a global variable 
containing  a pointer to thread local memory. This could lead 
to race conditions when those functions were called with high 
concurrency. 

Fixed by changing the interface of the said functions to avoid 
the necessity for using a global variable.

Since we cannot change load_defaults() prototype for API
compatibility reasons, it was renamed my_load_defaults().
Now load_defaults() is a thread-unsafe wrapper around
a thread-safe version, my_load_defaults().
2009-02-27 11:26:06 +02:00
..
client.c Fix for bug #40552: Race condition around default_directories 2009-02-27 11:26:06 +02:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_time.c Bug#42146 - DATETIME fractional seconds parse error 2009-02-13 19:07:03 +01:00
my_user.c Bug#32633 Can not create any routine if SQL_MODE=no_engine_substitution 2008-02-07 08:47:39 -02:00
pack.c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00