1. 01 Mar, 2005 1 commit
    • unknown's avatar
      Fixes from Tomas's review of 'use configuration mgm handle as a transporter'. · 65be842f
      unknown authored
      This should help with the  PURGE STALE SESSIONS problem.
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        No longer need to do funny connecting and port reporting in start_service as we
        convert the configuration mgm after we have bound to the ports we have to report.
        
        use a BaseString for constructing the connect string.
      ndb/src/kernel/main.cpp:
        Reuse the mgm handle used to fetch configuration as a transporter connection.
      ndb/src/kernel/vm/Configuration.cpp:
        m_mgmd_host is now a BaseString.
      ndb/src/kernel/vm/Configuration.hpp:
        use BaseString for m_mgmd_host
      65be842f
  2. 24 Feb, 2005 12 commits
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb · 09b7d18a
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports
      
      
      09b7d18a
    • unknown's avatar
      Fixes for: use initial mgm connection as transporter connection · 9bc6ed86
      unknown authored
      
      ndb/include/mgmapi/mgmapi.h:
        ndb_mgm_convert_to_transporter may destroy the handle, now takes a pointer.
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        If outside code is going to manipulate the NdbMgmHandle, allow it to do it
        via a get_mgmHandlePtr() call
      ndb/include/transporter/TransporterRegistry.hpp:
        connect_client and connect_ndb_mgmd may destroy the handle, now they take a pointer.
      ndb/src/common/transporter/TransporterRegistry.cpp:
        When start_service is binding to ports, report back the port numbers.
        
        We need this here now, as we re-use the initial mgm connection as a transporter, which
        is connected *before* start_service has allocated the dynamic port numbers. So the creation
        of this early transporter cannot be used to send the dynamic ports to the mgmd.
        
        We connect to the mgm server (using the handle that will be used in the client_Connect thread)
        if needed. This is thread safe as start_service is only ever called once, before
        the client connect thread starts.
        
        connect_client,connect_ndb_mgmd may destroy the NdbMgmHandle. It now accepts a pointer to it.
      ndb/src/kernel/vm/Configuration.cpp:
        Copy the m_mgmd_host string from the config_retreiver as the NdbMgmHandle in the
        ConfigRetreiver will be destroyed later (along with the host string).
        
        globalTransporterRegistry.connect_client will destroy the mgm handle, use a pointer to the handle.
      ndb/src/kernel/vm/Configuration.hpp:
        allow the dynamic allocation of m_mgmd_host.
      ndb/src/mgmapi/mgmapi.cpp:
        accept a pointer for ndb_mgm_convert_to_transporter as we destroy the handle.
      9bc6ed86
    • unknown's avatar
      merge · dcdbfa65
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      include/mysql_com.h:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      dcdbfa65
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 885e13ab
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      885e13ab
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · a23c1bf6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      a23c1bf6
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · f4cef73b
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      f4cef73b
    • unknown's avatar
      Added my_mmap to mysys library · c29d89e9
      unknown authored
      mysys.dsp:
        Added my_mmap
      
      
      VC++Files/mysys/mysys.dsp:
        Added my_mmap
      c29d89e9
    • unknown's avatar
      More changes to make 5.0.3 compile on Windows · 5064f263
      unknown authored
      sql_map.cc:
        moved include of sys/stat outside of HAVE_SYS_MMAN_H define
      my_decimal.h:
        Added define for EMBEDDED_SERVER for call to string2my_decimal
      mi_packrec.c:
        removed cast to caddr_t
      
      
      myisam/mi_packrec.c:
        removed cast to caddr_t
      sql/my_decimal.h:
        Added define for EMBEDDED_SERVER for call to string2my_decimal
      sql/sql_map.cc:
        moved include of sys/stat outside of HAVE_SYS_MMAN_H define
      5064f263
    • unknown's avatar
      fixed test results · fc79380e
      unknown authored
      
      mysql-test/r/rpl_insert_id.result:
        fixed error format after mats merge
      mysql-test/r/sp.result:
        fixed typo
      fc79380e
    • unknown's avatar
      Merge 51.0.168.192.in-addr.arpa:/Users/bell/mysql/bk/mysql-5.0 · c3d916b5
      unknown authored
      into 51.0.168.192.in-addr.arpa:/Users/bell/mysql/bk/work-repl-5.0
      
      
      c3d916b5
    • unknown's avatar
      get time for thread switching · 0613ed1f
      unknown authored
      0613ed1f
    • unknown's avatar
      fixed typo in test · 20a30c64
      unknown authored
      20a30c64
  3. 23 Feb, 2005 27 commits