mariadb/extra
unknown b920ab261e 4 small items in this:
- 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 for Create_file_log_event, because
  it uses slave_proxy_id even if it does not write an event to the binlog
  (it uses slave_proxy_id to write it to SQL-LOAD.info).
  * When we write events we now always write slave_proxy_id, which is now always
  meaningful (as thd->slave_proxy_id is now always meaningful, see change in
  sql_class.cc).
sql/mini_client.cc:
  in_addr_t is more generic.
sql/slave.cc:
  A RELAY_LOG_INFO method to free the slave's temporary tables from memory
  at slave's server shutdown.
  It is called by end_slave(), which is called by close_connections(),
  which is called when the server terminates
  (close_connections() is just before clean_up(); putting the call in 
  clean_up() was buggy, as active_mi is already deleted by close_connections().
sql/slave.h:
  new method
sql/sql_class.cc:
  By default we set THD::slave_proxy_id to THD::thread_id,
  so THD::slave_proxy_id is always meaningful (not 0).
  It's always the same as the thread id except for the slave
  SQL thread.
2003-10-31 23:20:23 +01:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
comp_err.c Merge bk-internal.mysql.com:/home/bk/mysql-4.0 2003-09-23 13:36:25 +03:00
Makefile.am Added new program, mysql_waitpid. 2003-01-07 19:04:41 +02:00
my_print_defaults.c Removed restriction not to be able use non regular files. 2003-08-28 21:27:25 +03:00
mysql_install.c Added useful exit error code for programs using my_getopt in case 2002-05-29 15:07:30 +03:00
mysql_waitpid.c Fixed multi-table-delete for InnoDB tables 2003-02-17 02:14:37 +02:00
perror.c perror.c: 2003-07-12 11:45:43 -05:00
replace.c Update copyright 2001-12-06 14:10:51 +02:00
resolve_stack_dump.c Big code cleanup/review before 4.0.2 release. 2002-06-11 11:20:31 +03:00
resolveip.c 4 small items in this: 2003-10-31 23:20:23 +01:00