mariadb/server-tools/instance-manager
unknown 48ed060dd0 Fix for BUG#12751: Instance Manager: client hangs after
start instance; kill mysqlmanager; show ...

The problem was that Instance Manager didn't close client
sockets (sockets for client connections) on execing mysqld
instance. So, mysqld-instance inherits these descriptors.

The fix is to set close-on-exec flag for each client socket.


mysql-test/r/im_daemon_life_cycle.result:
  Updated result file.
mysql-test/t/im_daemon_life_cycle.imtest:
  Test for BUG#12751.
server-tools/instance-manager/listener.cc:
  Set close-on-exec flag for each client socket.
2006-09-01 18:20:33 +04:00
..
buffer.cc
buffer.h
command.cc
command.h fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
commands.cc a bunch of IM fixes from the GUI team 2006-02-10 02:15:55 +03:00
commands.h
guardian.cc The second fix for BUG#19391: IM fails to start after two executions. 2006-06-19 14:16:10 +04:00
guardian.h pthread_handler_decl() changed to be ctags-friendly 2005-10-08 16:39:55 +02:00
IMService.cpp
IMService.h
instance.cc Bug #12673: Instance Manager: allows to stop the instance many times 2006-07-12 12:30:22 -07:00
instance.h
instance_map.cc The second fix for BUG#19391: IM fails to start after two executions. 2006-06-19 14:16:10 +04:00
instance_map.h Fix race condition: instance map wasn't locked for the 2006-02-21 15:57:56 +03:00
instance_options.cc BUG#20622: Fix one-byte buffer overrun in IM directory string handling. 2006-06-23 14:50:02 +02:00
instance_options.h Bug#19362 im_daemon_lifecycle fails when built from source distribution 2006-04-26 12:45:22 +02:00
listener.cc Fix for BUG#12751: Instance Manager: client hangs after 2006-09-01 18:20:33 +04:00
listener.h fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
log.cc
log.h
Makefile.am Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_init 2006-05-31 16:19:06 +02:00
manager.cc The second fix for BUG#19391: IM fails to start after two executions. 2006-06-19 14:16:10 +04:00
manager.h Partial fix for BUG#14106: IM: im_life_cycle and im_utils 2006-05-06 13:57:56 +04:00
messages.cc Bug #12673: Instance Manager: allows to stop the instance many times 2006-07-12 12:30:22 -07:00
messages.h
mysql_connection.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-08 16:59:41 +02:00
mysql_connection.h fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
mysql_manager_error.h
mysqlmanager.cc Partial fix for BUG#14106: IM: im_life_cycle and im_utils 2006-05-06 13:57:56 +04:00
mysqlmanager.vcproj mysqlmanager.vcproj: 2006-07-22 02:00:33 +02:00
options.cc Make it compilable on Windows. 2006-05-10 18:53:28 +04:00
options.h Partial fix for BUG#14106: IM: im_life_cycle and im_utils 2006-05-06 13:57:56 +04:00
parse.cc Add a shift in the parser. Forgotten in the previous commit. 2006-02-18 03:22:13 +03:00
parse.h
parse_output.cc make the IM compile on Windows 2005-11-02 09:30:01 -06:00
parse_output.h
portability.h Bug#20190 Unixware 7.13 port and make test errors 2006-08-03 17:29:35 +02:00
priv.cc a bunch of IM fixes from the GUI team 2006-02-10 02:15:55 +03:00
priv.h Fix for Bug #12674 "Instance Manager: IM doesn't handle client 2006-02-21 15:32:52 +03:00
protocol.cc
protocol.h
README
thread_registry.cc fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
thread_registry.h fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
user_map.cc
user_map.h fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
WindowsService.cpp
WindowsService.h

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.