mariadb/sql
Sujatha 840fb495ce MDEV-22059: MSAN report at replicate_ignore_table_grant
Analysis:
========
List of values provided for "replicate_ignore_table" and "replicate_do_table"
are stored in HASH.  When an empty list is provided the HASH structure doesn't
get initialized. Existing code treats empty element list as an error and tries
to clean the uninitialized HASH. This results in above MSAN issue.

Fix:
===
The clean up should be initiated only when there is an error while parsing the
'replicate_do_table' or 'replicate_ignore_table' list and the HASH is in
initialized state. Otherwise for empty list it should simply return success.
2020-06-10 14:44:27 +05:30
..
share Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
add_errmsg
authors.h
backup.cc
backup.h
bounded_queue.h
client_settings.h
CMakeLists.txt Fix cmake warning - custom command succeeds without creating own OUTPUT. 2020-05-29 12:28:34 +02:00
compat56.cc
compat56.h
contributors.h
create_options.cc
create_options.h
custom_conf.h
datadict.cc
datadict.h
debug_sync.cc
debug_sync.h Fix GCC -Wunused-function 2020-06-10 07:43:18 +03:00
derived_handler.cc
derived_handler.h
derror.cc
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h
encryption.cc
event_data_objects.cc
event_data_objects.h
event_db_repository.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc
event_queue.h
event_scheduler.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
event_scheduler.h
events.cc
events.h
field.cc Merge 10.4 into 10.5 2020-06-07 12:22:06 +03:00
field.h Merge 10.4 into 10.5 2020-06-07 12:22:06 +03:00
field_comp.cc
field_comp.h
field_conv.cc
filesort.cc MDEV-22303: Incorrect ordering with REGEXP_REPLACE and OFFSET/LIMIT 2020-06-01 17:53:07 +05:30
filesort.h
filesort_utils.cc
filesort_utils.h
gcalc_slicescan.cc
gcalc_slicescan.h
gcalc_tools.cc
gcalc_tools.h
gen_lex_hash.cc
gen_lex_token.cc
gen_sql_yacc_ora_yy.cmake
gen_win_tzname_data.ps1
grant.cc
grant.h
group_by_handler.cc
group_by_handler.h
gstream.cc
gstream.h
ha_partition.cc remove dead code 2020-06-09 14:32:43 +02:00
ha_partition.h remove dead code 2020-06-09 14:32:43 +02:00
ha_sequence.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
ha_sequence.h
handle_connections_win.cc
handle_connections_win.h
handler.cc remove dead code 2020-06-09 14:32:43 +02:00
handler.h remove dead code 2020-06-09 14:32:43 +02:00
hash_filo.cc
hash_filo.h
hostname.cc
hostname.h
init.cc
init.h
innodb_priv.h
item.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
item.h MDEV-21902 Nested JSON_ARRAYAGG in JSON_OBJECT should not get escaped. 2020-06-04 14:21:04 +04:00
item_buff.cc
item_cmpfunc.cc MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT 2020-06-06 11:33:11 +04:00
item_cmpfunc.h
item_create.cc
item_create.h
item_func.cc MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT 2020-06-06 11:33:11 +04:00
item_func.h MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT 2020-06-06 11:33:11 +04:00
item_geofunc.cc
item_geofunc.h
item_jsonfunc.cc MDEV-21914 JSON_ARRAYAGG doesn't reject ORDER BY clause, but doesn't work either. 2020-06-04 13:53:14 +04:00
item_jsonfunc.h MDEV-21914 JSON_ARRAYAGG doesn't reject ORDER BY clause, but doesn't work either. 2020-06-04 13:53:14 +04:00
item_row.cc
item_row.h
item_strfunc.cc
item_strfunc.h
item_subselect.cc Fixed access to undefined memory found by valgrind and MSAN 2020-05-23 12:29:10 +03:00
item_subselect.h
item_sum.cc MDEV-21914 JSON_ARRAYAGG doesn't reject ORDER BY clause, but doesn't work either. 2020-06-04 13:53:14 +04:00
item_sum.h MDEV-21765 Possibly inconsistent behavior of BIT_xx functions with INET6 field 2020-06-09 12:54:04 +04:00
item_timefunc.cc MDEV-20809 EXTRACT from INET6 value does not produce any warnings 2020-06-01 10:35:01 +04:00
item_timefunc.h MDEV-20809 EXTRACT from INET6 value does not produce any warnings 2020-06-01 10:35:01 +04:00
item_vers.cc
item_vers.h
item_windowfunc.cc MDEV-20280 PERCENTILE_DISC() rejects temporal and string input 2020-06-01 14:30:21 +04:00
item_windowfunc.h MDEV-20280 PERCENTILE_DISC() rejects temporal and string input 2020-06-01 14:30:21 +04:00
item_xmlfunc.cc Merge 10.4 into 10.5 2020-06-03 09:45:39 +03:00
item_xmlfunc.h
key.cc
key.h
keycaches.cc
keycaches.h
lex.h
lex_string.h
lex_symbol.h
lock.cc
lock.h
log.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
log.h
log_event.cc
log_event.h
log_event_client.cc
log_event_old.cc
log_event_old.h
log_event_server.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
log_slow.h
main.cc
mariadb.h
mdl.cc
mdl.h
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache.cc
mf_iocache_encr.cc
MSG00001.bin
multi_range_read.cc
multi_range_read.h
my_apc.cc
my_apc.h
my_decimal.cc
my_decimal.h MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT 2020-06-06 11:33:11 +04:00
my_json_writer.cc
my_json_writer.h
mysql_install_db.cc
mysql_upgrade_service.cc
mysqld.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
mysqld.h
mysqld_suffix.h
net_serv.cc
nt_servc.cc
nt_servc.h
opt_index_cond_pushdown.cc
opt_range.cc
opt_range.h Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
opt_range_mrr.cc Merge 10.3 into 10.4 2020-05-30 11:04:27 +03:00
opt_split.cc
opt_subselect.cc
opt_subselect.h
opt_sum.cc
opt_table_elimination.cc
opt_trace.cc
opt_trace.h
opt_trace_context.h
parse_file.cc
parse_file.h
partition_element.h
partition_info.cc Merge 10.4 into 10.5 2020-06-05 20:36:43 +03:00
partition_info.h
password.c
plistsort.c
privilege.h
procedure.cc
procedure.h
protocol.cc Fixed access to undefined memory found by valgrind and MSAN 2020-05-23 12:29:10 +03:00
protocol.h
proxy_protocol.cc
proxy_protocol.h
records.cc
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rowid_filter.cc
rowid_filter.h
rpl_constants.h
rpl_filter.cc MDEV-22059: MSAN report at replicate_ignore_table_grant 2020-06-10 14:44:27 +05:30
rpl_filter.h
rpl_gtid.cc
rpl_gtid.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_parallel.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
rpl_parallel.h
rpl_record.cc
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
rpl_rli.h Merge 10.3 into 10.4 2020-05-30 11:04:27 +03:00
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
rpl_utility_server.cc
scheduler.cc
scheduler.h
select_handler.cc
select_handler.h
semisync.cc
semisync.h
semisync_master.cc
semisync_master.h
semisync_master_ack_receiver.cc
semisync_master_ack_receiver.h
semisync_slave.cc
semisync_slave.h
service_wsrep.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
session_tracker.cc
session_tracker.h
set_var.cc Merge 10.4 into 10.5 2020-06-03 09:45:39 +03:00
set_var.h Merge 10.4 into 10.5 2020-06-03 09:45:39 +03:00
signal_handler.cc Fixed access to undefined memory found by valgrind and MSAN 2020-05-23 12:29:10 +03:00
slave.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
slave.h
sp.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sp.h Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sp_cache.cc
sp_cache.h
sp_head.cc Merge 10.4 into 10.5 2020-06-07 12:22:06 +03:00
sp_head.h
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc
sp_rcontext.h
spatial.cc
spatial.h
sql_acl.cc Merge 10.4 into 10.5 2020-06-03 09:45:39 +03:00
sql_acl.h Merge 10.4 into 10.5 2020-06-03 09:45:39 +03:00
sql_acl_getsort.ic
sql_admin.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
sql_admin.h
sql_alloc.h
sql_alter.cc
sql_alter.h
sql_analyse.cc
sql_analyse.h
sql_analyze_stmt.cc
sql_analyze_stmt.h
sql_array.h
sql_audit.cc
sql_audit.h
sql_base.cc remove dead code 2020-06-09 14:32:43 +02:00
sql_base.h Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_basic_types.h
sql_binlog.cc
sql_binlog.h
sql_bitmap.h
sql_bootstrap.cc
sql_bootstrap.h
sql_builtin.cc.in
sql_cache.cc
sql_cache.h
sql_callback.h
sql_class.cc MDEV-21282 Assertion 'mariadb_table' failed in gcol.innodb_virtual_debug_purge 2020-06-05 19:13:44 +05:30
sql_class.h Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
sql_client.cc
sql_cmd.h
sql_connect.cc
sql_connect.h
sql_const.h
sql_crypt.cc
sql_crypt.h
sql_cte.cc Merge 10.4 into 10.5 2020-06-08 12:58:11 +03:00
sql_cte.h
sql_cursor.cc
sql_cursor.h
sql_db.cc
sql_db.h
sql_delete.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_delete.h
sql_derived.cc Merge 10.4 into 10.5 2020-06-08 12:58:11 +03:00
sql_derived.h
sql_digest.cc
sql_digest.h
sql_digest_stream.h
sql_do.cc
sql_do.h
sql_error.cc
sql_error.h
sql_explain.cc
sql_explain.h
sql_expression_cache.cc
sql_expression_cache.h
sql_get_diagnostics.cc
sql_get_diagnostics.h
sql_handler.cc
sql_handler.h
sql_help.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_help.h
sql_hset.h
sql_i_s.h
sql_insert.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_insert.h
sql_join_cache.cc
sql_join_cache.h
sql_lex.cc MDEV-20366 Server crashes in get_current_user upon SET PASSWORD via SP 2020-05-30 14:00:56 +04:00
sql_lex.h MDEV-20366 Server crashes in get_current_user upon SET PASSWORD via SP 2020-05-30 14:00:56 +04:00
sql_lifo_buffer.h
sql_limit.h
sql_list.cc
sql_list.h
sql_load.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_load.h
sql_locale.cc
sql_locale.h
sql_manager.cc
sql_manager.h
sql_mode.cc
sql_mode.h
sql_parse.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
sql_parse.h
sql_partition.cc Merge 10.4 into 10.5 2020-06-05 20:36:43 +03:00
sql_partition.h
sql_partition_admin.cc
sql_partition_admin.h
sql_plist.h
sql_plugin.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
sql_plugin.h
sql_plugin_compat.h
sql_plugin_services.ic
sql_prepare.cc
sql_prepare.h
sql_priv.h
sql_profile.cc
sql_profile.h
sql_reload.cc
sql_reload.h
sql_rename.cc
sql_rename.h
sql_repl.cc
sql_repl.h
sql_select.cc MDEV-22399: Remove multiple calls to enable and disable Handler::keyread and perform it after the plan refinement phase is done 2020-06-10 02:29:28 +05:30
sql_select.h MDEV-22399: Remove multiple calls to enable and disable Handler::keyread and perform it after the plan refinement phase is done 2020-06-10 02:29:28 +05:30
sql_sequence.cc Merge 10.4 into 10.5 2020-06-08 12:58:11 +03:00
sql_sequence.h
sql_servers.cc
sql_servers.h
sql_show.cc SHOW TABLE STATUS now shows if an Aria table is transactional or not 2020-05-29 22:47:37 +03:00
sql_show.h
sql_signal.cc
sql_signal.h
sql_sort.h MDEV-22836: Server crashes in err_conv / ErrBuff::set_str 2020-06-09 18:43:19 +05:30
sql_state.c
sql_statistics.cc Merge 10.4 into 10.5 2020-06-03 09:45:39 +03:00
sql_statistics.h Merge 10.3 into 10.4 2020-06-03 07:32:09 +03:00
sql_string.cc
sql_string.h
sql_table.cc Merge 10.4 into 10.5 2020-06-07 12:22:06 +03:00
sql_table.h
sql_tablespace.cc
sql_tablespace.h
sql_test.cc
sql_test.h
sql_time.cc
sql_time.h
sql_trigger.cc Merge 10.2 into 10.3 2020-06-06 18:50:25 +03:00
sql_trigger.h
sql_truncate.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_truncate.h
sql_tvc.cc
sql_tvc.h
sql_type.cc MDEV-20809 EXTRACT from INET6 value does not produce any warnings 2020-06-01 10:35:01 +04:00
sql_type.h MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT 2020-06-06 11:33:11 +04:00
sql_type_geom.cc
sql_type_geom.h
sql_type_int.h MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT 2020-06-06 11:33:11 +04:00
sql_type_json.cc
sql_type_json.h
sql_type_real.h
sql_type_string.cc
sql_type_string.h
sql_udf.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
sql_udf.h
sql_union.cc Merge 10.4 into 10.5 2020-06-08 12:58:11 +03:00
sql_union.h
sql_update.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
sql_update.h
sql_view.cc
sql_view.h
sql_window.cc Merge 10.4 into 10.5 2020-06-05 20:36:43 +03:00
sql_window.h
sql_yacc.yy Merge 10.4 into 10.5 2020-06-08 12:58:11 +03:00
strfunc.cc
strfunc.h
structs.h
sys_vars.cc Merge 10.4 into 10.5 2020-06-07 12:22:06 +03:00
sys_vars.ic
sys_vars_shared.h
table.cc remove dead code 2020-06-09 14:32:43 +02:00
table.h remove dead code 2020-06-09 14:32:43 +02:00
table_cache.cc
table_cache.h
temporary_tables.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
thr_malloc.cc
thr_malloc.h
thread_cache.h
thread_pool_info.cc
threadpool.h Removed function declaration of a non-existing function 2020-05-29 13:05:35 +02:00
threadpool_common.cc Remove some trailing whitespaces. 2020-05-29 13:05:35 +02:00
threadpool_generic.cc Remove some trailing whitespaces. 2020-05-29 13:05:35 +02:00
threadpool_generic.h Remove some trailing whitespaces. 2020-05-29 13:05:35 +02:00
threadpool_win.cc Remove some trailing whitespaces. 2020-05-29 13:05:35 +02:00
transaction.cc Aria will now register it's transactions 2020-05-23 12:29:10 +03:00
transaction.h
tzfile.h
tztime.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
tztime.h
udf_example.c
udf_example.def
uniques.cc
uniques.h
unireg.cc Merge 10.4 into 10.5 2020-05-31 10:28:59 +03:00
unireg.h
upgrade_conf_file.cc
vers_string.h
win_tzname_data.h
winservice.c
winservice.h
wsrep_applier.cc
wsrep_applier.h
wsrep_binlog.cc
wsrep_binlog.h
wsrep_check_opts.cc
wsrep_client_service.cc
wsrep_client_service.h
wsrep_client_state.h
wsrep_condition_variable.h
wsrep_dummy.cc
wsrep_high_priority_service.cc Fixed compilation error in DCMAKE_BUILD_TYPE=mysql_release mode when WSREP enabled 2020-06-10 03:51:49 +02:00
wsrep_high_priority_service.h
wsrep_mutex.h
wsrep_mysqld.cc Merge 10.2 into 10.3 2020-06-06 18:50:25 +03:00
wsrep_mysqld.h
wsrep_mysqld_c.h
wsrep_notify.cc
wsrep_plugin.cc
wsrep_priv.h
wsrep_schema.cc
wsrep_schema.h
wsrep_server_service.cc
wsrep_server_service.h
wsrep_server_state.cc
wsrep_server_state.h
wsrep_sst.cc
wsrep_sst.h
wsrep_storage_service.cc
wsrep_storage_service.h
wsrep_thd.cc Merge 10.2 into 10.3 2020-06-06 18:50:25 +03:00
wsrep_thd.h Merge 10.1 into 10.2 2020-06-05 18:32:37 +02:00
wsrep_trans_observer.h Only apply wsrep_trx_fragment_size to InnoDB tables 2020-05-23 12:29:10 +03:00
wsrep_types.h
wsrep_utils.cc
wsrep_utils.h
wsrep_var.cc
wsrep_var.h
wsrep_xid.cc
wsrep_xid.h
xa.cc
xa.h