mariadb/sql
unknown 3c6d0b6ae8 BUG#20549: Fix missing memory initialization.
Some values were not initialized, causing Valgrind errors (and potential
random bugs):

 - NDB binlog thread thd->variables.pseudo_thread_id.
 - Table null bits.
 - Field bytes for columns with NULL values.


sql/ha_ndbcluster_binlog.cc:
  Fix initialization of thd->variables.pseudo_thread_id.
  Change double alloc_root() call to multi_alloc_root().
  Fix missing initialization of null bits.
sql/sql_class.cc:
  Do not read from the supplied record for NULL values, use the default
  value record instead.
  Otherwise we will get Valgrind errors about uninitialised values written
  to binlog, as NDB does not initialize the memory in records for NULL
  fields.
2006-06-22 16:42:50 +02:00
..
share Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-14 09:12:07 -04:00
.cvsignore
add_errmsg
authors.h update show authors 2006-05-30 10:22:31 +02:00
client_settings.h
CMakeLists.txt manual merged 2006-05-22 21:57:23 +02:00
contributors.h Added new show contributors command. 2006-05-02 17:53:26 -07:00
custom_conf.h
derror.cc
des_key_file.cc Many files: 2005-09-30 14:03:55 +02:00
discover.cc sql/Makefile.am: better mysqld dependencies 2006-05-30 18:21:03 +02:00
event.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
event.h Fix for bug #17394 - Events namespace is wrong 2006-05-29 10:39:45 +02:00
event_executor.cc fix for bug #17619 Scheduler race conditions 2006-05-22 20:46:13 +02:00
event_priv.h Fix for bug #17394 - Events namespace is wrong 2006-05-29 10:39:45 +02:00
event_scheduler.cc After merge fixes 2006-06-05 06:16:08 +03:00
event_scheduler.h event_scheduler.h, event_scheduler.cc: 2006-05-23 17:47:17 +02:00
event_timed.cc local variable interval to interval_tmp because it hides 2006-05-29 13:12:34 +02:00
field.cc cleanup String::set(integer) 2006-06-14 23:09:03 +02:00
field.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
field_conv.cc Merge mysql.com:/usr/local/mysql/tmp_merge 2006-05-18 11:56:50 +02:00
filesort.cc Manually reapplied msvenssons changes to new BK tree: 2006-06-06 13:40:15 +03:00
frm_crypt.cc
gen_lex_hash.cc
gstream.cc
gstream.h
ha_berkeley.cc Fixed some issues found by valgrind 2006-06-06 02:47:30 +03:00
ha_berkeley.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_federated.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_federated.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_heap.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_heap.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_innodb.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_innodb.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_myisam.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_myisam.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_myisammrg.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
ha_myisammrg.h Merge mysql.com:/home/mydev/mysql-5.0-amerge 2006-06-15 10:58:02 +02:00
ha_ndbcluster.cc BUG#20498: Wrong usage of hash_first() in get_open_table(). 2006-06-16 12:29:04 +02:00
ha_ndbcluster.h Merge mysql.com:/home/marty/MySQL/mysql-5.0 2006-06-12 11:34:00 +02:00
ha_ndbcluster_binlog.cc BUG#20549: Fix missing memory initialization. 2006-06-22 16:42:50 +02:00
ha_ndbcluster_binlog.h sql_delete.cc: 2006-06-12 14:23:21 +02:00
ha_ndbcluster_tables.h Bug #17805 Cluster_replication database should be renamed to just cluster 2006-03-01 13:31:21 +01:00
ha_partition.cc merge update 2006-06-14 19:40:06 -04:00
ha_partition.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
handler.cc Bug#20168 2006-06-12 06:50:11 -07:00
handler.h Bug#20168 2006-06-12 06:50:11 -07:00
hash_filo.cc
hash_filo.h
hostname.cc Final patch to remove the last of the OS2 support. 2006-04-15 18:17:32 -07:00
init.cc WL#1324 table name to file name encoding 2005-12-31 09:01:26 +04:00
item.cc cleanup String::set(integer) 2006-06-14 23:09:03 +02:00
item.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
item_buff.cc
item_cmpfunc.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
item_cmpfunc.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
item_create.cc Merge mysql.com:/opt/local/work/tmp_merge 2006-04-23 04:04:36 +04:00
item_create.h Adding XPath support: ExtractValue and UpdateXML functions. 2005-12-21 17:13:52 +04:00
item_func.cc cleanup String::set(integer) 2006-06-14 23:09:03 +02:00
item_func.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
item_geofunc.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-31 11:54:36 +02:00
item_geofunc.h
item_row.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
item_row.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
item_strfunc.cc Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 2006-05-16 10:37:40 +02:00
item_strfunc.h post-merge fix 2006-06-14 10:54:56 +05:00
item_subselect.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
item_subselect.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
item_sum.cc cleanup String::set(integer) 2006-06-14 23:09:03 +02:00
item_sum.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
item_timefunc.cc Merge rurik.mysql.com:/home/igor/tmp_merge 2006-06-14 20:00:36 -07:00
item_timefunc.h Merge rurik.mysql.com:/home/igor/tmp_merge 2006-06-14 20:00:36 -07:00
item_uniq.cc Table definition cache, part 2 2005-11-23 22:45:02 +02:00
item_uniq.h Inefficient usage of String::append() fixed. 2005-11-20 20:47:07 +02:00
item_xmlfunc.cc Merge mysql.com:/usr/home/bar/mysql-5.1-new 2006-05-03 09:08:12 +05:00
item_xmlfunc.h BUG#18198: Many strange partition functions were allowed, now only strictly allowed functions are ok 2006-05-31 13:32:14 -04:00
key.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
lex.h Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-05-23 11:25:11 -07:00
lex_symbol.h
lock.cc Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-12 17:41:05 -04:00
log.cc Merge 2006-06-09 19:09:42 +05:00
log.h Fixed compiler and valgrind warnings 2006-03-29 14:27:36 +03:00
log_event.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
log_event.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-05-31 18:49:12 +02:00
Makefile.am Re-apply missing changeset, orignally pushed by elliot 2006-06-06 14:21:07 +03:00
matherr.c
message.mc Some changes to make it possible to build for Windows with CMake from 2006-03-24 22:50:56 +01:00
mf_iocache.cc
my_decimal.cc Moved long running query to type_newdecimal-big.test 2005-11-23 20:16:06 +02:00
my_decimal.h Fix for bug #13573 (wrong data inserted for too big decimals) 2005-10-15 21:57:32 +05:00
my_lock.c Final patch to remove the last of the OS2 support. 2006-04-15 18:17:32 -07:00
mysql_priv.h Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19122 2006-06-12 17:49:38 -04:00
mysqld.cc Fix a Valgrind leak error report for not freed binlog injector singleton. 2006-06-19 14:31:22 +02:00
mysqld_suffix.h
net_serv.cc some small fixups 2006-05-24 12:43:03 -05:00
nt_servc.cc
nt_servc.h
opt_range.cc Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1 2006-06-09 20:38:53 +04:00
opt_range.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
opt_sum.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
parse_file.cc Merge zim.(none):/home/ian/workspace/mysql-5.0 2006-03-27 19:48:44 -08:00
parse_file.h Fix for BUG#15921: DROP TRIGGER - can't be drop trigger created 2006-03-28 01:01:51 +04:00
partition_element.h Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-14 09:12:07 -04:00
partition_info.cc merge update 2006-06-14 19:40:06 -04:00
partition_info.h merge update 2006-06-14 19:40:06 -04:00
password.c Fixed compiler and valgrind warnings 2006-03-29 14:27:36 +03:00
procedure.cc
procedure.h
protocol.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
protocol.h Fixes to embedded server to be able to run tests with it 2006-02-24 18:34:15 +02:00
records.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
repl_failsafe.cc fix for bug #17619 Scheduler race conditions 2006-05-22 20:46:13 +02:00
repl_failsafe.h pthread_handler_decl() changed to be ctags-friendly 2005-10-08 16:39:55 +02:00
rpl_filter.cc Fix for BUG#15018 "valgrind error in Rpl_filter (uninitalized memory - could crash)". 2005-11-17 15:58:55 +01:00
rpl_filter.h WL#1012: All changes as one single changeset. 2005-12-22 06:39:02 +01:00
rpl_injector.cc Fix a Valgrind leak error report for not freed binlog injector singleton. 2006-06-19 14:31:22 +02:00
rpl_injector.h Fix a Valgrind leak error report for not freed binlog injector singleton. 2006-06-19 14:31:22 +02:00
rpl_rli.h Plugging memory leak in row-based replication triggered by 2006-05-09 12:30:06 +02:00
rpl_tblmap.cc WL#1012: All changes as one single changeset. 2005-12-22 06:39:02 +01:00
rpl_tblmap.h Compile fixes for aix52-64bit. 2006-01-01 22:18:02 +01:00
set_var.cc Fixed incorrect handling of renamed fields, forcing copy of table if needed and added optional system variable ndb_use_copying_alter_table 2006-06-13 16:44:30 +02:00
set_var.h manual merged 2006-05-22 21:57:23 +02:00
slave.cc sql/Makefile.am: better mysqld dependencies 2006-05-30 18:21:03 +02:00
slave.h Merge mysql.com:/home/kostja/mysql/tmp_merge 2006-02-02 16:57:34 +03:00
sp.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
sp.h Fixed BUG#16303: erroneus stored procedures and functions should be droppable 2006-01-26 13:29:46 +01:00
sp_cache.cc Remove unused variable 2006-03-28 19:34:44 +02:00
sp_cache.h BUG#12228: Post review fixes: Added test case, code cleanup. 2005-08-10 21:17:02 +00:00
sp_head.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
sp_head.h Merge mysql.com:/usr/local/mysql/mysql-5.0-bug19633 2006-05-15 18:41:04 +02:00
sp_pcontext.cc Fixed BUG#18949: Test case sp-goto is disabled 2006-04-18 11:07:34 +02:00
sp_pcontext.h Fixed BUG#18949: Test case sp-goto is disabled 2006-04-18 11:07:34 +02:00
sp_rcontext.cc BUG#18037: Fix stack corruption in THD::rollback_item_tree_changes(). 2006-05-15 12:01:55 +02:00
sp_rcontext.h BUG#18037: Fix stack corruption in THD::rollback_item_tree_changes(). 2006-05-15 12:01:55 +02:00
spatial.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
spatial.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
sql_acl.cc Re-apply missing changeset, orignally pushed by elliot 2006-06-06 14:21:07 +03:00
sql_acl.h Merge mysql.com:/home/tomash/src/mysql_ab/tmp_merge 2006-05-11 11:28:56 +04:00
sql_analyse.cc Fixed compiler and valgrind warnings 2006-03-29 14:27:36 +03:00
sql_analyse.h
sql_array.h Fix for BUG#12335 (SP replication) : New binlogging strategy for stored PROCEDUREs/FUNCTIONs. 2005-08-25 17:34:34 +04:00
sql_base.cc Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-12 17:41:05 -04:00
sql_binlog.cc fixed BINLOG crashes in case of badly formed statement (Bug #17457) 2006-03-01 12:45:13 +02:00
sql_bitmap.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_builtin.cc.in WL#3201 2006-04-13 13:49:29 -07:00
sql_cache.cc Merge mysql.com:/home/alexi/bugs/mysql-5.0-15758-work 2006-04-09 17:48:47 +04:00
sql_cache.h Fixed compiler warnings from gcc 4.0.2: 2006-02-25 17:46:30 +02:00
sql_class.cc BUG#20549: Fix missing memory initialization. 2006-06-22 16:42:50 +02:00
sql_class.h Fixed incorrect handling of renamed fields, forcing copy of table if needed and added optional system variable ndb_use_copying_alter_table 2006-06-13 16:44:30 +02:00
sql_client.cc
sql_crypt.cc
sql_crypt.h
sql_cursor.cc Fixed BUG#15758: "Holding adaptive search latch in 2006-04-07 23:58:17 +04:00
sql_cursor.h A fix and a test case for Bug#6513 "Test Suite: Values inserted by using 2005-09-22 02:11:21 +04:00
sql_db.cc Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1-engines 2006-06-12 06:53:31 -07:00
sql_delete.cc sql_delete.cc: 2006-06-12 14:23:21 +02:00
sql_derived.cc Table definition cache, part 2 2005-11-23 22:45:02 +02:00
sql_do.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_error.cc Merge shellback.(none):/home/msvensson/mysql/mysql-5.0 2006-03-23 18:14:02 +01:00
sql_error.h fix for bug #17619 Scheduler race conditions 2006-05-22 20:46:13 +02:00
sql_handler.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_help.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_insert.cc Merge 2006-06-09 19:09:42 +05:00
sql_lex.cc Merge bk-internal:/home/bk/mysql-5.0 2006-06-02 21:41:57 +02:00
sql_lex.h Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0 2006-05-30 16:07:49 +03:00
sql_list.cc
sql_list.h WL#1012: All changes as one single changeset. 2005-12-22 06:39:02 +01:00
sql_load.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
sql_manager.cc Make storage engines "pluggable", handlerton work 2005-11-07 16:25:06 +01:00
sql_manager.h Make storage engines "pluggable", handlerton work 2005-11-07 16:25:06 +01:00
sql_map.cc Bug fix for bug #15843 "Added mmap support in myisam creates compile problem 2005-12-19 14:16:21 +01:00
sql_map.h
sql_olap.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_parse.cc Post-merge fixes 2006-06-09 12:27:28 -07:00
sql_partition.cc Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19801 2006-06-14 09:22:27 -04:00
sql_partition.h Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-14 09:12:07 -04:00
sql_plugin.cc Bug#20168 2006-06-12 06:50:11 -07:00
sql_plugin.h Bug#20168 2006-06-12 06:50:11 -07:00
sql_prepare.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
sql_rename.cc Merge mysql.com:/home/dlenev/src/mysql-5.0-bg13525 2006-02-27 20:00:07 +03:00
sql_repl.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_repl.h WL#1012: All changes as one single changeset. 2005-12-22 06:39:02 +01:00
sql_select.cc Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1 2006-06-09 20:38:53 +04:00
sql_select.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_show.cc Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-14 19:41:33 -04:00
sql_show.h WL#1012: All changes as one single changeset. 2005-12-22 06:39:02 +01:00
sql_sort.h
sql_state.c
sql_string.cc cleanup String::set(integer) 2006-06-14 23:09:03 +02:00
sql_string.h cleanup String::set(integer) 2006-06-14 23:09:03 +02:00
sql_table.cc Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-15 16:00:54 -04:00
sql_tablespace.cc Bug#20168 2006-06-12 06:50:11 -07:00
sql_test.cc Merge mysql.com:/home/my/mysql-5.0 2006-05-04 22:27:12 +03:00
sql_trigger.cc 1. Fix compilation on Windows; 2006-05-19 16:01:04 +04:00
sql_trigger.h This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_udf.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_udf.h
sql_union.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
sql_update.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
sql_view.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
sql_view.h Finalize storage engine plugins 2005-12-21 10:18:40 -08:00
sql_yacc.yy Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-14 09:12:07 -04:00
stacktrace.c
stacktrace.h
strfunc.cc Making old tables seen with "#mysql50#" prefix, 2005-12-31 12:34:39 +04:00
structs.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-05-22 14:22:58 +04:00
table.cc Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1 2006-06-14 09:12:07 -04:00
table.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-06-04 21:05:22 +03:00
thr_malloc.cc
time.cc Fixed some issues found by valgrind 2006-06-06 02:47:30 +03:00
tzfile.h
tztime.cc This changeset is largely a handler cleanup changeset (WL#3281), but includes fixes and cleanups that was found necessary while testing the handler changes 2006-06-04 18:52:22 +03:00
tztime.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2006-05-02 18:41:42 -04:00
udf_example.cc Fix small bug in udf_example.cc, it was processing one char too much and thus returning junk 2006-04-28 11:37:20 +02:00
uniques.cc many warnings (practically safe but annoying) corrected 2006-01-03 17:54:54 +01:00
unireg.cc Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new 2006-05-12 12:22:31 -04:00
unireg.h Fixed bug#14169: type of group_concat() result changed to blob if tmp_table was 2006-04-12 23:05:38 +04:00