mariadb/sql
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
..
share Updating translation for Spanish/Portuguese error messages files 2003-08-27 12:22:42 -04:00
.cvsignore
add_errmsg
cache_manager.cc
cache_manager.h
convert.cc
custom_conf.h
derror.cc
des_key_file.cc Replaced deprecated since OpenSSL 0.9.7 des_ calls and types with 2003-09-12 22:33:43 +04:00
field.cc Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
field.h Another bugfix for #615 2003-06-24 10:53:21 +05:00
field_conv.cc Optimized old patches 2003-07-01 14:38:38 +03:00
filesort.cc filesort.cc, order_by.result: 2003-04-26 14:54:53 +03:00
frm_crypt.cc
gen_lex_hash.cc merged 2003-03-13 13:44:03 +01:00
ha_berkeley.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
ha_berkeley.h A lot of portability fixes. 2003-01-05 20:18:49 +02:00
ha_heap.cc Portability fix when using -DBIG_TABLES 2002-11-14 12:21:36 +02:00
ha_heap.h Fixes for valgrind 2003-04-23 21:52:16 +03:00
ha_innodb.cc thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h, ha_innodb.cc: 2003-10-17 23:44:34 +03:00
ha_innodb.h ha_innodb.h: 2003-07-14 15:53:50 +03:00
ha_isam.cc low-level error messages cleanup 2003-01-28 17:42:08 +01:00
ha_isam.h
ha_isammrg.cc Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. 2002-11-07 03:54:00 +02:00
ha_isammrg.h
ha_myisam.cc Better fix for myisamchk --sort-index on windows 2003-08-25 17:19:44 +03:00
ha_myisam.h
ha_myisammrg.cc low-level error messages cleanup 2003-01-28 17:42:08 +01:00
ha_myisammrg.h merge + order by (bug #515) temporary fix 2003-07-04 14:42:57 +02:00
handler.cc Update of VC++ project files (to remove link warnings) 2003-08-25 14:27:32 +03:00
handler.h Better fix for CREATE TABLE IF NOT EXISTS ... SELECT 2003-10-15 21:41:13 +03:00
hash_filo.cc
hash_filo.h Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. 2002-11-07 03:54:00 +02:00
hostname.cc Fixes for Netware 2003-01-28 08:38:28 +02:00
init.cc Added option --read-only (Thanks to Markus Benning) 2003-05-19 12:01:38 +03:00
item.cc merged 2003-08-21 21:39:22 +02:00
item.h merged 2003-08-21 21:39:22 +02:00
item_buff.cc
item_cmpfunc.cc Fixed unlikely stack bug when having a BIG expression of type 1+1-1+1-1... in certain combinations. Bug #871 2003-08-27 20:00:18 +03:00
item_cmpfunc.h make it clear for optimizer that XOR's are not optimizable at the moment (BUG#992) 2003-08-05 16:29:09 +02:00
item_create.cc CURRENT_USER() and "access denied" error messages now report hostname exactly as it was specified in the GRANT command (with wildcards, that is) 2003-04-29 00:15:18 +02:00
item_create.h Fix problem in MIN/MAX optimisation (from last patch) 2003-02-07 17:57:07 +02:00
item_func.cc Fix for bug #1271: Undefined variable in PASSWORD() function is not 2003-10-21 15:14:06 +05:00
item_func.h Optimized code for setting user variables with := and fixed some bugs in old code (Bug #1194) 2003-10-03 00:40:27 +03:00
item_strfunc.cc Replaced deprecated since OpenSSL 0.9.7 des_ calls and types with 2003-09-12 22:33:43 +04:00
item_strfunc.h merge with 3.23.56 to get patches for --lower-case-table-names and 2003-01-29 19:22:22 +02:00
item_sum.cc Add column names for metadata when running mysql with -T 2003-08-27 10:26:03 +03:00
item_sum.h Fixed some varnings from valgrind 2003-08-20 16:25:44 +03:00
item_timefunc.cc Bug #792 combination of date-interval and between with mixed constant and non-constant 2003-08-06 15:37:22 +02:00
item_timefunc.h Bugfix for #614 2003-06-11 20:09:37 +05:00
item_uniq.cc
item_uniq.h Fixed some varnings from valgrind 2003-08-20 16:25:44 +03:00
key.cc Allow optimzation of multi-table-update also for InnoDB tables 2003-03-19 00:45:44 +02:00
lex.h sql_yacc.yy, sql_parse.cc, sql_lex.h, mysqld.cc, lex.h: 2003-06-06 04:18:58 +03:00
lex_symbol.h
lock.cc Merge to get fix for LOCK TABLES + DROP TABLE in another thread 2003-03-07 01:20:56 +02:00
log.cc Optimized code for setting user variables with := and fixed some bugs in old code (Bug #1194) 2003-10-03 00:40:27 +03:00
log_event.cc 4 small items in this: 2003-10-31 23:20:23 +01:00
log_event.h Fix for BUG#1686 2003-10-29 14:23:35 +01:00
Makefile.am - added $(EXEEXT) to gen_lex_hash generation/execution to fix a build 2003-06-20 15:19:51 +02:00
matherr.c
mf_iocache.cc ChangeSet 1.1625 was faulty as regards sql/mf_iocache.cc and LOAD DATA LOCAL replication tests 2003-03-02 18:20:32 +01:00
mini_client.cc 4 small items in this: 2003-10-31 23:20:23 +01:00
mini_client.h
my_lock.c Fixes for Netware 2003-01-28 08:38:28 +02:00
mysql_priv.h Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
mysqld.cc Safety fix for adding service name to search config groups 2003-10-30 01:20:38 +02:00
net_pkg.cc Fixed multi-table-delete for InnoDB tables 2003-02-17 02:14:37 +02:00
net_serv.cc vio ssl structure renames (to get rid of ending _) 2003-08-27 02:51:39 +03:00
nt_servc.cc Fix error msg. Bug #681 2003-06-19 12:38:14 -04:00
nt_servc.h
opt_ft.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
opt_ft.h Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
opt_range.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
opt_range.h Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
opt_sum.cc sql_select.cc, opt_sum.cc: 2003-05-07 19:01:45 +03:00
password.c - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported 2003-03-18 22:14:02 +01:00
procedure.cc
procedure.h
records.cc Fixes for valgrind 2003-04-23 21:52:16 +03:00
repl_failsafe.cc * Fix for BUG#1248: "LOAD DATA FROM MASTER drops the slave's db unexpectedly". 2003-09-11 23:17:28 +02:00
repl_failsafe.h Clearer error message when one forgot to grant REPLICATION SLAVE : 2003-03-08 18:53:32 +01:00
set_var.cc Changing max_insert_delayed_threads now also changes the size of thread alarm buffer. 2003-10-16 07:44:18 +03:00
set_var.h SET CHARACTER SET DEFAULT didn't work (Bug #462) 2003-06-29 12:58:43 +03:00
slave.cc 4 small items in this: 2003-10-31 23:20:23 +01:00
slave.h 4 small items in this: 2003-10-31 23:20:23 +01:00
sql_acl.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
sql_acl.h SHOW GRANTS hided real grants when grants on both column and table (Bug 654) 2003-06-23 20:03:59 +03:00
sql_analyse.cc Fixed problem when comparing a key for a multi-byte-character set. (bug 152) 2003-04-27 22:12:08 +03:00
sql_analyse.h merge with 3.23 to get corrected error message files and rename of files in mysql-test 2003-02-26 00:22:35 +02:00
sql_base.cc Fix for BUG#1686 2003-10-29 14:23:35 +01:00
sql_cache.cc fixed server crash on moving query block with pointers to same table in it (BUG#988) 2003-09-15 15:16:13 +03:00
sql_cache.h support of more then 255 tables dependence in query cache (fixed BUG#930) 2003-07-30 14:59:56 +03:00
sql_class.cc 4 small items in this: 2003-10-31 23:20:23 +01:00
sql_class.h comments about designation of thd->where and 2003-10-30 21:30:20 +03:00
sql_crypt.cc - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported 2003-03-18 22:14:02 +01:00
sql_crypt.h
sql_db.cc Safety and speedup fixes: 2003-07-14 10:12:05 +03:00
sql_delete.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
sql_do.cc
sql_handler.cc fixed: thread lock-up on a FLASH TABLE when another thread has an open handler 2003-09-09 19:23:01 +02:00
sql_insert.cc Better fix for CREATE TABLE IF NOT EXISTS ... SELECT 2003-10-15 21:41:13 +03:00
sql_lex.cc Added missing (char*) casts in bzero calls. 2003-07-03 01:08:34 +02:00
sql_lex.h Cleaner implementation if INSERT ... SELECT with same tables 2003-07-03 11:55:36 +03:00
sql_list.cc Don't install signal handler for SIGINT by default 2003-06-10 21:42:29 +03:00
sql_list.h Cleaner implementation if INSERT ... SELECT with same tables 2003-07-03 11:55:36 +03:00
sql_load.cc a small comment about why we call end_io_cache in mysql_load 2003-09-25 00:24:06 +02:00
sql_manager.cc Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. 2002-11-07 03:54:00 +02:00
sql_manager.h
sql_map.cc
sql_map.h
sql_olap.cc New multi-table-update code 2002-11-29 16:40:18 +02:00
sql_parse.cc Change back service name to MySQL 2003-10-30 01:01:53 +02:00
sql_rename.cc Safety and speedup fixes: 2003-07-14 10:12:05 +03:00
sql_repl.cc Clearer states in SHOW PROCESSLIST for replication threads. 2003-08-25 14:13:58 +02:00
sql_repl.h Status query on killed mysql connection results in segmentation fault (Bug #738) 2003-07-04 03:18:15 +03:00
sql_select.cc Bug#1271 - RAND_TABLE_BIT in expression and only const_tables in join 2003-10-21 17:34:40 +02:00
sql_select.h Fixes for valgrind 2003-04-23 21:52:16 +03:00
sql_show.cc vio ssl structure renames (to get rid of ending _) 2003-08-27 02:51:39 +03:00
sql_sort.h
sql_string.cc
sql_string.h
sql_table.cc Better fix for CREATE TABLE IF NOT EXISTS ... SELECT 2003-10-15 21:41:13 +03:00
sql_test.cc Safety fix to detect multiple calls to my_thread_end() 2003-10-16 20:55:15 +03:00
sql_udf.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
sql_udf.h
sql_union.cc sql_union.cc: 2003-08-20 20:16:37 +03:00
sql_update.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
sql_yacc.yy Revert change of lower-case-table handling as this breaks how alias works. 2003-08-29 04:17:30 +03:00
stacktrace.c - Fixed URL to Using_stack_trace.html (the old one still works, but gets 2003-03-05 12:42:10 +01:00
stacktrace.h
structs.h Fixed multi-table-delete for InnoDB tables 2003-02-17 02:14:37 +02:00
table.cc Add new user variables for tuning memory usage: 2003-10-11 22:00:24 +03:00
table.h Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS 2003-07-08 23:58:04 +03:00
thr_malloc.cc
time.cc Fixed problem with mysql prompt when server disconnect. (Bug 356) 2003-05-27 16:40:14 +03:00
udf_example.cc
uniques.cc Fixed memory allocation in Unique to not allocate too much memory 2003-06-26 07:56:55 +03:00
unireg.cc Change of internal key_field=NULL handling to avoid error messages. 2002-12-03 13:08:25 +02:00
unireg.h Fix for BUG#1686 2003-10-29 14:23:35 +01:00
watchdog_mysqld