mariadb/sql
Monty e600f9aebb MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation
This commit updates default memory allocations size used with MEM_ROOT
objects to minimize the number of calls to malloc().

Changes:
- Updated MEM_ROOT block sizes in sql_const.h
- Updated MALLOC_OVERHEAD to also take into account the extra memory
  allocated by my_malloc()
- Updated init_alloc_root() to only take MALLOC_OVERHEAD into account as
  buffer size, not MALLOC_OVERHEAD + sizeof(USED_MEM).
- Reset mem_root->first_block_usage if and only if first block was used.
- Increase MEM_ROOT buffers sized used by my_load_defaults, plugin_init,
  Create_tmp_table, allocate_table_share, TABLE and TABLE_SHARE.
  This decreases number of malloc calls during queries.
- Use a small buffer for THD->main_mem_root in THD::THD. This avoids
  multiple malloc() call for new connections.

I tried the above changes on a complex select query with 12 tables.
The following shows the number of extra allocations that where used
to increase the size of the MEM_ROOT buffers.

Original code:
- Connection to MariaDB:   9 allocations
- First query run:       146 allocations
- Second query run:       24 allocations

Max memory allocated for thd when using with heap table:  61,262,408
Max memory allocated for thd when using Aria tmp table:      419,464

After changes:
Connection to MariaDB:     0 allocations
- First run:              25 allocations
- Second run:              7 allocations

Max memory allocated for thd when using with heap table:  61,347,424
Max memory allocated for thd when using Aria table:          529,168

The new code uses slightly more memory, but avoids memory fragmentation
and is slightly faster thanks to much fewer calls to malloc().

Reviewed-by: Sergei Golubchik <serg@mariadb.org>
2025-01-05 16:40:11 +02:00
..
share Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
add_errmsg
authors.h
backup.cc
backup.h
bounded_queue.h MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
client_settings.h
CMakeLists.txt MDEV-33091 pcre2 headers aren't found on Solaris 2024-09-05 12:14:06 +10:00
compat56.cc
compat56.h
contributors.h Update sponsors 2024-08-12 09:32:30 +01:00
create_options.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
create_options.h MDEV-35236 Assertion `(mem_root->flags & 4) == 0' failed in safe_lexcstrdup_root 2024-10-23 14:58:57 +02:00
create_tmp_table.h
cset_narrowing.cc
cset_narrowing.h
custom_conf.h
datadict.cc
datadict.h
ddl_log.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
ddl_log.h
debug.cc
debug.h
debug_sync.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
debug_sync.h
derived_handler.cc
derived_handler.h
derror.cc
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h
encryption.cc MDEV-34348: Fix casting related to plugins 2024-11-23 08:14:23 -07:00
event_data_objects.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
event_data_objects.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
event_db_repository.cc
event_db_repository.h
event_parse_data.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
event_parse_data.h
event_queue.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
event_queue.h
event_scheduler.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
event_scheduler.h
events.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
events.h
field.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
field.h Merge branch '10.5' into 10.6 2024-10-09 08:38:48 +02:00
field_comp.cc
field_comp.h
field_conv.cc
filesort.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
filesort.h
filesort_utils.cc
filesort_utils.h MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
gcalc_slicescan.cc
gcalc_slicescan.h
gcalc_tools.cc
gcalc_tools.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
gen_lex_hash.cc
gen_lex_token.cc
gen_win_tzname_data.ps1
gen_yy_files.cmake
grant.cc
grant.h
group_by_handler.cc
group_by_handler.h MDEV-26345 Spider GBH should execute original queries on the data node 2024-10-15 15:36:12 +11:00
gstream.cc
gstream.h
ha_handler_stats.h MDEV-34251 Conditional jump or move depends on uninitialised value in ha_handler_stats::has_stats 2024-10-03 13:45:26 +03:00
ha_partition.cc Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
ha_partition.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
ha_sequence.cc MDEV-32350 Can't selectively restore sequences using innodb tables from backup 2024-10-16 17:24:46 +03:00
ha_sequence.h Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
handle_connections_win.cc
handle_connections_win.h
handler.cc MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
handler.h Merge branch '10.5' into '10.6' 2024-12-03 13:08:12 +01:00
hash_filo.cc
hash_filo.h
hostname.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
hostname.h
init.cc
init.h
innodb_priv.h
item.cc Merge branch '10.5' into '10.6' 2024-12-03 13:08:12 +01:00
item.h Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
item_buff.cc
item_cmpfunc.cc Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
item_cmpfunc.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_create.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_create.h MDEV-31174 fixup: clang++-20 -Wnontrivial-memcall 2024-12-02 11:04:38 +02:00
item_func.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_func.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_geofunc.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_geofunc.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_jsonfunc.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_jsonfunc.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_row.cc Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
item_row.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
item_strfunc.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
item_strfunc.h MDEV-35416 CONV(1<<63, 10, -2) fails with --view-protocol 2024-11-14 17:05:31 +04:00
item_subselect.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_subselect.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_sum.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_sum.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_timefunc.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
item_timefunc.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_vers.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_vers.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_windowfunc.cc
item_windowfunc.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
item_xmlfunc.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_xmlfunc.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
json_table.cc MDEV-27412: JSON_TABLE doesn't properly unquote strings 2024-10-01 13:45:46 +05:30
json_table.h Remove unused Table_function_json_table::m_text_literal_cs 2024-09-27 13:52:17 +03:00
key.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
key.h MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
keycaches.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
keycaches.h
lex.h
lex_ident.h
lex_string.h
lex_symbol.h
lock.cc
lock.h
log.cc Merge branch '10.5' into '10.6' 2024-12-13 01:45:35 +01:00
log.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
log_event.cc
log_event.h Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
log_event_client.cc Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
log_event_data_type.h
log_event_old.cc Merge branch '10.5' into 10.6 2024-06-26 09:16:54 +08:00
log_event_old.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
log_event_server.cc Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
log_slow.h
main.cc
mariadb.h
mdl.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
mdl.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache.cc
mf_iocache_encr.cc MDEV-34921 MemorySanitizer reports errors for non-debug builds 2024-09-13 14:34:08 +03:00
MSG00001.bin
multi_range_read.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
multi_range_read.h MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
my_apc.cc
my_apc.h
my_decimal.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
my_decimal.h
my_json_writer.cc
my_json_writer.h
myskel.m4.in
mysql_install_db.cc
mysql_upgrade_service.cc
mysqld.cc Merge 10.5 into 10.6 2024-12-11 14:46:43 +02:00
mysqld.h Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
mysqld_suffix.h
net_serv.cc MDEV-34799: "Could not write packet" err message args off by 1 2024-08-22 13:02:23 -06:00
opt_index_cond_pushdown.cc
opt_range.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
opt_range.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
opt_range_mrr.cc
opt_split.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
opt_subselect.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
opt_subselect.h
opt_sum.cc MDEV-35135 Assertion `!is_cond()' failed in Item_bool_func::val_int / do_select 2024-10-14 09:36:17 +02:00
opt_table_elimination.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
opt_trace.cc
opt_trace.h
opt_trace_context.h
parse_file.cc
parse_file.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
partition_element.h
partition_info.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
partition_info.h
password.c
plistsort.c
privilege.h
procedure.cc
procedure.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
protocol.cc
protocol.h
proxy_protocol.cc
proxy_protocol.h
records.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
records.h
repl_failsafe.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
repl_failsafe.h
replication.h
rowid_filter.cc MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
rowid_filter.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
rpl_constants.h
rpl_filter.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
rpl_filter.h MDEV-33921: Replication breaks when filtering two-phase XA transactions 2024-07-10 14:37:39 -06:00
rpl_gtid.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
rpl_gtid.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
rpl_mi.h
rpl_parallel.cc Restore the THD state correctly in parallel replication 2024-12-05 09:22:00 +01:00
rpl_parallel.h MDEV-35465 Async replication stops working on Galera async replica node when parallel replication is enabled 2024-12-03 15:05:32 +01:00
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.5 into 10.6 2024-08-27 08:52:10 +03:00
rpl_rli.h
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 Extract some of #3360 fixes to 10.6.x 2024-11-18 13:29:04 +11:00
semisync_master.h MDEV-34122: Assertion `entry' failed in Active_tranx::assert_thd_is_waiter 2024-10-21 15:35:54 -06:00
semisync_master_ack_receiver.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
semisync_master_ack_receiver.h
semisync_slave.cc
semisync_slave.h
service_wsrep.cc Merge branch '10.5' into '10.6' 2024-12-03 13:08:12 +01:00
session_tracker.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
session_tracker.h MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
set_var.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
set_var.h MDEV-34770 GCC warning fix 2024-12-04 18:22:31 +03:00
signal_handler.cc Merge branch '10.5' into '10.6' 2024-12-13 01:45:35 +01:00
slave.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
slave.h
socketpair.c
socketpair.h
sp.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sp.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sp_cache.cc MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
sp_cache.h
sp_head.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sp_head.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc
sp_rcontext.h
spatial.cc
spatial.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_acl.cc Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
sql_acl.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_acl_getsort.inl Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
sql_admin.cc Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02:00
sql_admin.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_alloc.h
sql_alter.cc
sql_alter.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_analyse.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_analyse.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_analyze_stmt.cc
sql_analyze_stmt.h
sql_array.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_audit.cc MDEV-34348: Fix casting related to plugins 2024-11-23 08:14:23 -07:00
sql_audit.h
sql_base.cc Merge 10.5 into 10.6 2025-01-03 09:10:25 +02:00
sql_base.h Merge 10.5 into 10.6 2025-01-03 09:10:25 +02: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 Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_cache.h MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
sql_callback.h
sql_class.cc MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation 2025-01-05 16:40:11 +02:00
sql_class.h MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation 2025-01-05 16:40:11 +02:00
sql_client.cc
sql_cmd.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_connect.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_connect.h MDEV-33990: SHOW STATUS counts ER_CON_COUNT_ERROR as Connection_errors_internal 2024-09-23 16:16:51 +02:00
sql_const.h MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation 2025-01-05 16:40:11 +02:00
sql_crypt.cc
sql_crypt.h
sql_cte.cc
sql_cte.h
sql_cursor.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_cursor.h
sql_db.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_db.h
sql_debug.h
sql_delete.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_delete.h
sql_derived.cc Merge branch '10.5' into 10.6 2024-08-03 09:04:24 +02:00
sql_derived.h
sql_digest.cc
sql_digest.h
sql_digest_stream.h
sql_do.cc MDEV-34679 ER_BAD_FIELD uses non-localizable substrings 2024-10-17 21:37:37 +02:00
sql_do.h
sql_error.cc Merge branch '10.5' into 10.6 2024-08-20 09:11:34 +02:00
sql_error.h Merge branch '10.5' into 10.6 2024-08-20 09:11:34 +02:00
sql_explain.cc Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
sql_explain.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
sql_expression_cache.cc
sql_expression_cache.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_get_diagnostics.cc
sql_get_diagnostics.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_handler.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_handler.h
sql_help.cc MDEV-35135 Assertion `!is_cond()' failed in Item_bool_func::val_int / do_select 2024-10-14 09:36:17 +02:00
sql_help.h
sql_hset.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_i_s.h
sql_insert.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_insert.h
sql_join_cache.cc MDEV-35135 Assertion `!is_cond()' failed in Item_bool_func::val_int / do_select 2024-10-14 09:36:17 +02:00
sql_join_cache.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_lex.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
sql_lex.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
sql_lifo_buffer.h MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
sql_limit.h
sql_list.cc
sql_list.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_load.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01: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 branch '10.5' into '10.6' 2024-12-18 05:09:23 +01:00
sql_parse.h
sql_partition.cc MDEV-34679 ER_BAD_FIELD uses non-localizable substrings 2024-10-17 21:37:37 +02:00
sql_partition.h
sql_partition_admin.cc
sql_partition_admin.h Fix compiler errors 2024-07-03 12:45:30 +02:00
sql_plist.h
sql_plugin.cc MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation 2025-01-05 16:40:11 +02:00
sql_plugin.h MDEV-34348: Fix casting related to plugins 2024-11-23 08:14:23 -07:00
sql_plugin_compat.h
sql_plugin_services.inl
sql_prepare.cc Merge branch '10.5' into '10.6' 2024-12-18 05:09:23 +01:00
sql_prepare.h
sql_priv.h MDEV-34993: fix merge into 10.6: OPTIMIZER_ADJ_FIX_CARD_MULT should be ON by default 2024-10-16 16:46:38 +03:00
sql_profile.cc
sql_profile.h
sql_reload.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
sql_reload.h
sql_rename.cc
sql_rename.h
sql_repl.cc
sql_repl.h
sql_schema.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_schema.h
sql_select.cc MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation 2025-01-05 16:40:11 +02:00
sql_select.h Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_sequence.cc MDEV-32350 Can't selectively restore sequences using innodb tables from backup 2024-10-16 17:24:46 +03:00
sql_sequence.h
sql_servers.cc MDEV-33783 CREATE SERVER segfaults on wrong mysql.servers 2024-12-03 13:49:43 +03:00
sql_servers.h
sql_show.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_show.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_signal.cc
sql_signal.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_sort.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_state.c
sql_statistics.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_statistics.h Trivial fix: Make test_if_cheaper_ordering() use actual_rec_per_key() 2024-08-25 16:05:00 +03:00
sql_string.cc
sql_string.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
sql_table.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_table.h Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc
sql_test.h
sql_time.cc
sql_time.h
sql_trigger.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_trigger.h
sql_truncate.cc
sql_truncate.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_tvc.cc MDEV-33971 NAME_CONST in WHERE clause replaced by inner item 2024-07-10 17:23:43 -04:00
sql_tvc.h
sql_type.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_type.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_type_fixedbin.h Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql_type_fixedbin_storage.h
sql_type_geom.cc
sql_type_geom.h
sql_type_int.h
sql_type_json.cc
sql_type_json.h
sql_type_real.h
sql_type_string.cc
sql_type_string.h
sql_udf.cc MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
sql_udf.h MDEV-34348: Miscellaneous fixes 2024-11-23 08:14:23 -07:00
sql_union.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_union.h
sql_update.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_update.h
sql_view.cc
sql_view.h
sql_window.cc Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
sql_window.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_yacc.yy Merge branch '10.5' into '10.6' 2024-12-13 01:45:35 +01:00
strfunc.cc
strfunc.h
structs.h Trivial fix: Make test_if_cheaper_ordering() use actual_rec_per_key() 2024-08-25 16:05:00 +03:00
sys_vars.cc Update my_default_record_cache_size if global.read_buff_size is changed 2025-01-05 16:40:11 +02:00
sys_vars.inl Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sys_vars_shared.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
table.cc MDEV-35750 Change MEM_ROOT allocation sizes to reduse calls to malloc() and avoid memory fragmentation 2025-01-05 16:40:11 +02:00
table.h Merge branch '10.5' into 10.6 2024-10-09 08:38:48 +02:00
table_cache.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
table_cache.h
temporary_tables.cc
thr_malloc.cc
thr_malloc.h
thread_cache.h
thread_pool_info.cc
threadpool.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
threadpool_common.cc MDEV-34533 post-fix 2024-11-05 21:32:48 +01:00
threadpool_generic.cc
threadpool_generic.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
threadpool_win.cc
threadpool_winsockets.cc
threadpool_winsockets.h
transaction.cc
transaction.h
tzfile.h
tztime.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
tztime.h
udf_example.c
udf_example.def
uniques.cc MDEV-34348: Fix casts relating to tree_walk_action 2024-11-23 08:14:23 -07:00
uniques.h MDEV-34348: Fix casts relating to tree_walk_action 2024-11-23 08:14:23 -07:00
unireg.cc
unireg.h
upgrade_conf_file.cc
vers_string.h
win_tzname_data.h Update Windows TZ data from unicode source (2024b) 2024-11-15 12:18:06 +11:00
winmain.cc
winservice.c
winservice.h
wsrep_applier.cc Merge branch 10.5 into 10.6 2024-11-08 18:17:15 +05:30
wsrep_applier.h Use only MySQL code for TOI error vote 2024-09-01 02:58:27 +02:00
wsrep_binlog.cc
wsrep_binlog.h
wsrep_check_opts.cc
wsrep_client_service.cc
wsrep_client_service.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_client_state.h
wsrep_condition_variable.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_dummy.cc
wsrep_high_priority_service.cc MDEV-35157 : wrong binlog timestamps on secondary nodes of a galera cluster 2024-11-06 04:59:10 +01:00
wsrep_high_priority_service.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_mutex.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_mysqld.cc Merge branch '10.5' into '10.6' 2024-12-18 05:09:23 +01:00
wsrep_mysqld.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
wsrep_mysqld_c.h
wsrep_notify.cc
wsrep_on.h
wsrep_plugin.cc
wsrep_priv.h
wsrep_schema.cc MDEV-35281 SR transaction crashes with innodb_snapshot_isolation 2024-11-29 08:06:32 +01:00
wsrep_schema.h MDEV-31173 : Server crashes when setting wsrep_cluster_address after adding invalid value to wsrep_allowlist table 2024-08-29 13:41:23 +02:00
wsrep_server_service.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
wsrep_server_service.h MDEV-32363 Shut down Galera networking and logging on fatal signal 2024-09-01 02:48:19 +02:00
wsrep_server_state.cc MDEV-34976 Server crash report broken if Galera is not loaded 2024-09-26 00:04:56 +02:00
wsrep_server_state.h MDEV-32363 Shut down Galera networking and logging on fatal signal 2024-09-01 02:48:19 +02:00
wsrep_sst.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
wsrep_sst.h
wsrep_storage_service.cc
wsrep_storage_service.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_thd.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
wsrep_thd.h
wsrep_trans_observer.h
wsrep_types.h
wsrep_utils.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
wsrep_utils.h
wsrep_var.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
wsrep_var.h
wsrep_xid.cc
wsrep_xid.h
xa.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
xa.h Revert "MDEV-35019 Provide a way to enable "rollback XA on disconnect" behavior we had before 10.5.2" 2024-10-16 13:23:47 +02:00