mariadb/server-tools/instance-manager
Alexey Kopytov 752cbab9a4 Fix for bug : 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
..
angel.cc Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
angel.h Patch for IM in scope of working on BUG#24415: Instance manager test 2007-02-18 15:45:28 +03:00
buffer.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
buffer.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
CMakeLists.txt CMakeLists.txt (many), win/README, mysql_manifest.cmake, configure.js: 2007-08-06 23:16:01 +02:00
command.cc Bug#22579 use --warning-mode=pedantic and -std=c89 flags when compiling with gcc 2007-01-29 19:36:48 +01:00
command.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
commands.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
commands.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
exit_codes.h Many files: 2006-12-27 02:23:51 +01:00
guardian.cc Fix for BUG#28030: test im_instance_conf fails with an assert. 2007-07-27 17:39:01 +04:00
guardian.h Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base 2007-01-02 14:18:13 -07:00
IMService.cpp Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base 2007-02-28 18:14:56 -07:00
IMService.h Patch for IM in scope of working on BUG#24415: Instance manager test 2007-02-18 15:45:28 +03:00
instance.cc Fix for BUG#28030: test im_instance_conf fails with an assert. 2007-07-27 17:39:01 +04:00
instance.h Fix for BUG#28030: test im_instance_conf fails with an assert. 2007-07-27 17:39:01 +04:00
instance_map.cc Fix for bug : Race condition around default_directories 2009-02-27 11:26:06 +02:00
instance_map.h Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base 2007-01-02 14:18:13 -07:00
instance_options.cc Bug#28012 Patch : IM crashes instead of reporting an error when mysqldpath is bad 2007-07-23 15:05:50 +02:00
instance_options.h Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base 2007-01-02 14:18:13 -07:00
listener.cc ha_partition.cc, listener.h, listener.cc, ha_partition.h: 2007-09-07 13:30:42 +02:00
listener.h ha_partition.cc, listener.h, listener.cc, ha_partition.h: 2007-09-07 13:30:42 +02:00
log.cc Clear field_alloc when it's moved to result set (allows us to always call free_root on field_alloc) 2007-04-16 17:08:29 +03:00
log.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
Makefile.am Patch for IM in scope of working on BUG#24415: Instance manager test 2007-02-18 15:45:28 +03:00
manager.cc Merge fix. 2007-02-22 22:56:43 +03:00
manager.h Fix for BUG#24415: Instance manager test im_daemon_life_cycle fails randomly. 2007-02-20 22:31:50 +03:00
messages.cc Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
messages.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql_connection.cc Bug#34655 Compile error 2008-02-28 14:55:46 -03:00
mysql_connection.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
mysql_manager_error.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
mysqlmanager.cc WL#4104: Deprecate the Instance Manager. 2007-10-22 23:02:05 +04:00
options.cc Fix for bug : Race condition around default_directories 2009-02-27 11:26:06 +02:00
options.h Fix for bug : Race condition around default_directories 2009-02-27 11:26:06 +02:00
parse.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
parse.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
parse_output.cc Fix of build errors for windows. 2007-07-25 12:15:29 +02:00
parse_output.h Bug#28012 Patch : IM crashes instead of reporting an error when mysqldpath is bad 2007-07-23 15:05:50 +02:00
portability.h Bug#28012 Patch : IM crashes instead of reporting an error when mysqldpath is bad 2007-07-23 15:05:50 +02:00
priv.cc Patch for IM in scope of working on BUG#24415: Instance manager test 2007-02-18 15:45:28 +03:00
priv.h Merge mysql.com:/home/tnurnberg/15327/50-15327 2007-09-15 04:09:38 +02:00
protocol.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
protocol.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
README First implementation of instance-manager carcass: 2003-08-16 21:44:24 +04:00
thread_registry.cc Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
thread_registry.h Merge alik.opbmk:/mnt/raid/alik/MySQL/devel/5.0-rt 2007-02-22 21:59:43 +03:00
user_management_commands.cc Many files: 2006-12-31 02:29:11 +01:00
user_management_commands.h Many files: 2006-12-27 02:23:51 +01:00
user_map.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
user_map.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
WindowsService.cpp Merge BUG: Windows target won't compile. 2007-03-02 09:04:23 +01:00
WindowsService.h Fix Windows build. 2007-02-20 20:31:16 +03:00

Instance Manager - manage MySQL instances locally and remotely.

File description:
 mysqlmanager.cc - entry point to the manager, main, 
 options.{h,cc} - handle startup options
 manager.{h,cc} - manager process
 mysql_connection.{h,cc} - handle one connection with mysql client.

See also instance manager architecture description in mysqlmanager.cc.