• unknown's avatar
    Various post-review fixes · 62f4dbd9
    unknown authored
    
    server-tools/instance-manager/buffer.cc:
      simplified buffer interface
    server-tools/instance-manager/buffer.h:
      simplified buffer interface
    server-tools/instance-manager/command.cc:
      Command class now uses instance_map directly
    server-tools/instance-manager/command.h:
      Made Command to use instance_map directly (not through the factory,
      which is not needed here in fact)
    server-tools/instance-manager/commands.cc:
      Moved mysql client/server protocol-specific functions to the commands
    server-tools/instance-manager/commands.h:
      Added a comment for Syntax_error command, fixed classes to use instance
      map instead of the factory
    server-tools/instance-manager/factory.cc:
      Fixed factory to give appropriate class to the commands
    server-tools/instance-manager/guardian.cc:
      Fixed guardian to delay start of new instances monitoring.
      Moved guardian initialization to the class from Instance map.
    server-tools/instance-manager/guardian.h:
      interface fixed
    server-tools/instance-manager/instance.cc:
      added some loging
    server-tools/instance-manager/instance_map.cc:
      All non-instance map specific functions moved from the class. Added
      iterator for instance_map
    server-tools/instance-manager/instance_map.h:
      All non-instance map related functions moved from the class. Added
      iterator for instance_map.
    server-tools/instance-manager/listener.cc:
      Added FD_CLOEXEC flag to sockets, as we don't want instances to inherit
      them after exec.
    server-tools/instance-manager/manager.cc:
      use guardian method moved from the instance map
    server-tools/instance-manager/mysql_connection.cc:
      cleanup
    server-tools/instance-manager/protocol.cc:
      fix according to the changes in the Buffer class
    62f4dbd9
mysql_connection.cc 10.4 KB