• unknown's avatar
    4 small items in this: · d1571e50
    unknown authored
    - when we don't have in_addr_t, use uint32.
    - a forgotten initialization of slave_proxy_id in sql/log_event.cc (was not really "forgot", was
    "we needn't init it there", but there was one case where we needed...).
    - made slave_proxy_id always meaningful in THD and Log_event, so we can
    rely more on it (no need to test if it's meaningful). THD::slave_proxy_id
    is equal to THD::thread_id except for the slave SQL thread.
    - clean up the slave's temporary table (i.e. free their memory) when slave
    server shuts down.
    
    
    extra/resolveip.c:
      removed #define as it is simpler to put it in my_net.h
      (because we need the #define elsewhere)
    include/my_net.h:
      When in_addr_t is not defined, use uint32.
    libmysql/libmysql.c:
      using in_addr_t is more generic.
    libmysql/manager.c:
      using in_addr_t is more generic.
    mysql-test/t/rpl_chain_temp_table.test:
      comments
    sql/log_event.cc:
      * Had forgot to initialize slave_proxy_id in the event constructor (char* buf...).
      Initializing is in fact only needed...
    d1571e50
my_net.h 3.5 KB