MariaDB-server/sql
Monty 15e889c300 MDEV-30699: Updated prev_record_reads() to be more exact
The old code in prev_record_reads() did give wrong estimates when a
join_buffer was used or if the table was depending on more than one
other tables. When join_cache is used, it will cause a re-order of row
combinations, which causes more calls to the engine for tables that
are depending on tables before the join_cached one.

The new prev_records_read() code provides more exact estimates and
should never give a 'too low estimate', assuming that the data to the
function is correct

The definition of prev_record_read() is also updated.
The new definition is:
  "Estimate the number of engine ha_index_read_calls for EQ_REF tables
  when taking into account the one-row-cache in join_read_always_key()"

The cost of using prev_record_reads() value is changed. The value is
now used similar as before to calculate the cost of the storage engine
calls. However the cost of the WHERE cost is changed to take into
account the total number of row combinations as the WHERE has to be
checked even if the one-row-cache is used. This makes the cost
slightly higher than before (for the same prev_record_reads() value).

Other things:
- Cached return value of prev_record_read() in best_access_path() to
  avoid some function calls.
- Fixed bug where position[].use_join_buffer was set in
  best_acess_path() when join buffer was not used. This confused the
  semi join optimizer to try to reoptimize plans that did not need to be
  reoptimized.
  The effect of the bug fix is that we avoid doing some re-optimziations
  with semi-joins when join_buffer is not used. In these cases the value
  shown for the 'Filtering' column in EXPLAIN EXTENDED may change.
- Added 'prev_record.cc' that was used to verify the logic in
  prev_record_reads().

Changes in test suite:
- EQ_REF tables are moved up to be earlier. This is because either the
  higher WHERE cost when EQ_REF is used with more row combination or
  change of cost when using join_cache.
- Filtered has changed (to the better) for some cases using semi-joins
  subselect_sj.test subselect_sj_jcl6.test
2023-02-21 15:36:39 +03:00
..
share Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
add_errmsg
authors.h
backup.cc Merge 10.6 into 10.7 2023-01-17 11:41:29 +02:00
backup.h
bounded_queue.h
client_settings.h
CMakeLists.txt Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
compat56.cc
compat56.h
contributors.h
create_options.cc
create_options.h
create_tmp_table.h
custom_conf.h
datadict.cc
datadict.h
ddl_log.cc Set thd->query() for internal (startup) transactions 2023-02-03 10:34:49 +03:00
ddl_log.h Revert MDEV-25292 Atomic CREATE OR REPLACE TABLE 2022-10-27 23:13:41 +02:00
debug_sync.cc Update comments to match new debug_sync implementation 2023-02-15 15:08:16 +02:00
debug_sync.h
debug.cc
debug.h
derived_handler.cc Correct DBUG_ENTER for Pushdown_derived::execute 2022-12-12 11:24:07 +11:00
derived_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
derror.cc
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h Merge branch '10.4' into 10.5 2023-01-27 13:54:14 +01:00
encryption.cc
event_data_objects.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
event_data_objects.h
event_db_repository.cc MDEV-29776 collation_connection and db_collation are too short in mysql.proc and mysql.event 2022-10-13 18:45:30 +04:00
event_db_repository.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
event_parse_data.cc
event_parse_data.h
event_queue.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc Set thd->query() for internal (startup) transactions 2023-02-03 10:34:49 +03:00
events.h
field_comp.cc
field_comp.h
field_conv.cc
field.cc Merge branch '10.10' into 10.11 2023-01-31 11:07:08 +01:00
field.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
filesort_utils.cc Add limits for how many IO operations a table access will do 2023-02-02 23:57:30 +03:00
filesort_utils.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
filesort.cc Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
filesort.h
gcalc_slicescan.cc Merge branch '10.6' into 10.7 2022-10-04 07:41:35 +02:00
gcalc_slicescan.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
gcalc_tools.cc
gcalc_tools.h
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 Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
gstream.cc
gstream.h
ha_partition.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
ha_partition.h Fixed limit optimization in range optimizer 2023-02-02 23:54:57 +03:00
ha_sequence.cc
ha_sequence.h
handle_connections_win.cc
handle_connections_win.h
handler.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
handler.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
hash_filo.cc
hash_filo.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
hostname.cc Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
hostname.h
init.cc
init.h
innodb_priv.h
item_buff.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_cmpfunc.cc Merge branch '10.8' into 10.9 2023-01-31 10:37:31 +01:00
item_cmpfunc.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
item_create.cc Merge 10.9 into 10.10 2023-02-16 11:36:38 +02:00
item_create.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
item_func.cc Merge 10.9 into 10.10 2023-02-16 11:36:38 +02:00
item_func.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
item_geofunc.cc Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
item_geofunc.h
item_jsonfunc.cc Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
item_jsonfunc.h
item_row.cc
item_row.h
item_strfunc.cc Merge branch '10.9' into 10.10 2023-01-31 11:01:48 +01:00
item_strfunc.h Merge branch '10.9' into 10.10 2023-01-31 11:01:48 +01:00
item_subselect.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
item_subselect.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
item_sum.cc Merge 10.8 into 10.9 2023-01-10 14:50:58 +02:00
item_sum.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
item_timefunc.cc
item_timefunc.h
item_vers.cc
item_vers.h
item_windowfunc.cc
item_windowfunc.h
item_xmlfunc.cc
item_xmlfunc.h
item.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
item.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
json_table.cc Added "override" to ha_heap.h, ha_myisam.h, ha_myisammrg.h and ha_sequence.h 2023-02-03 10:56:49 +03:00
json_table.h
key.cc
key.h
keycaches.cc Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
keycaches.h Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
lex_charset.cc
lex_charset.h
lex_string.h
lex_symbol.h
lex.h
lock.cc Merge 10.8 into 10.9 2022-09-06 09:45:54 +03:00
lock.h
log_event_client.cc MDEV-30128 remove support for 5.1- replication events 2023-02-05 22:02:30 +01:00
log_event_server.cc MDEV-30128 remove support for 5.1- replication events 2023-02-05 22:02:30 +01:00
log_event.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
log_event.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
log_slow.h
log.cc Merge 10.9 into 10.10 2023-02-16 11:36:38 +02:00
log.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
main.cc
mariadb.h
mdl.cc Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
mdl.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache_encr.cc
mf_iocache.cc
MSG00001.bin
multi_range_read.cc Change cost for REF to take into account cost for 1 extra key read_next 2023-02-10 12:58:50 +02:00
multi_range_read.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
my_apc.cc
my_apc.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
my_decimal.cc
my_decimal.h
my_json_writer.cc
my_json_writer.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
myskel.m4.in
mysql_install_db.cc Merge branch '10.10' into 10.11 2023-01-31 11:07:08 +01:00
mysql_upgrade_service.cc
mysqld_suffix.h
mysqld.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
mysqld.h Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
net_serv.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
opt_histogram_json.cc
opt_histogram_json.h
opt_index_cond_pushdown.cc Cache file->index_flags(index, 0, 1) in table->key_info[index].index_flags 2023-02-03 14:38:26 +03:00
opt_range_mrr.cc
opt_range.cc Adjust costs for rowid filter 2023-02-21 15:35:27 +03:00
opt_range.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
opt_split.cc Print more information in optimizer trace for LATERAL DERIVED 2023-02-02 23:57:51 +03:00
opt_subselect.cc MDEV-30569: Assertion ...ha_table_flags() in Duplicate_weedout_picker::check_qep 2023-02-10 13:35:32 +02:00
opt_subselect.h MDEV-30659 Server crash on EXPLAIN SELECT/SELECT on table with engine Aria for LooseScan Strategy 2023-02-21 15:27:23 +03:00
opt_sum.cc Merge 10.7 into 10.8 2023-01-10 14:42:50 +02:00
opt_table_elimination.cc Merge 10.9 into 10.10 2023-02-16 11:36:38 +02:00
opt_trace_context.h
opt_trace.cc Optimizer Trace: make plan_prefix not show const/eliminated tables 2023-02-10 12:59:36 +02:00
opt_trace.h MDEV-30059: Optimizer Trace: plan_prefix should be a comma-separated-list 2023-02-03 10:33:01 +03:00
optimizer_costs.h Changed aggregate distinct optimization with indexes to be cost based. 2023-02-02 23:59:11 +03:00
optimizer_defaults.h Adjust costs for rowid filter 2023-02-21 15:35:27 +03:00
parse_file.cc Merge branch '10.5' into 10.6 2022-10-02 22:14:21 +02:00
parse_file.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
partition_element.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
partition_info.cc Merge 10.8 into 10.9 2022-12-13 18:24:51 +02:00
partition_info.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
password.c
plistsort.c
privilege.h MDEV-29668 SUPER should not allow actions that have fine-grained dedicated privileges 2023-02-06 14:31:48 +01:00
procedure.cc
procedure.h
protocol.cc MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables" 2022-10-21 14:49:05 -06:00
protocol.h Merge 10.10 into 10.11 2023-02-16 11:41:18 +02:00
proxy_protocol.cc
proxy_protocol.h
records.cc Code cleanups and add some caching of functions to speed up things 2023-02-10 12:59:36 +02:00
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rowid_filter.cc MDEV-30699: Updated prev_record_reads() to be more exact 2023-02-21 15:36:39 +03:00
rowid_filter.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
rpl_constants.h
rpl_filter.cc MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables" 2022-10-21 14:49:05 -06:00
rpl_filter.h MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables" 2022-10-21 14:49:05 -06:00
rpl_gtid.cc
rpl_gtid.h
rpl_injector.cc Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
rpl_injector.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
rpl_mi.cc MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables" 2022-10-21 14:49:05 -06:00
rpl_mi.h
rpl_parallel.cc Merge branch '10.7' into 10.8 2023-01-31 09:57:52 +01:00
rpl_parallel.h
rpl_record.cc MDEV-29613 Improve WITH_DBUG_TRACE=OFF 2022-09-23 13:40:42 +03:00
rpl_record.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
rpl_rli.h
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility_server.cc
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
select_handler.cc
select_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
semisync_master_ack_receiver.cc
semisync_master_ack_receiver.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
semisync_master.cc Merge branch '10.4' into 10.5 2022-10-02 14:38:13 +02:00
semisync_master.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
semisync_slave.cc
semisync_slave.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
semisync.cc
semisync.h
service_wsrep.cc MDEV-24623 Replicate bulk insert as table-level exclusive key 2023-01-24 11:54:25 +02:00
session_tracker.cc
session_tracker.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
set_var.cc remove SHOW_OPTIMIZER_COST 2023-02-10 12:59:36 +02:00
set_var.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
signal_handler.cc Merge 10.7 into 10.8 2023-01-13 11:11:04 +02:00
slave.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
slave.h Merge branch '10.3' into 10.4 2023-01-28 18:22:55 +01:00
sp_cache.cc
sp_cache.h
sp_head.cc Merge 10.9 into 10.10 2023-01-24 15:17:10 +02:00
sp_head.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc
sp_rcontext.h
sp.cc MDEV-29776 collation_connection and db_collation are too short in mysql.proc and mysql.event 2022-10-13 18:45:30 +04:00
sp.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
spatial.cc Merge 10.5 into 10.6 2022-12-13 16:58:58 +02:00
spatial.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_acl_getsort.ic
sql_acl.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_acl.h Merge 10.10 into 10.11 2023-02-16 11:41:18 +02:00
sql_admin.cc Merge branch '10.7' into 10.8 2023-01-31 09:57:52 +01:00
sql_admin.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_alloc.h
sql_alter.cc Merge branch '10.8' into 10.9 2023-01-31 10:37:31 +01:00
sql_alter.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
sql_analyse.cc Merge 10.5 into 10.6 2022-10-06 09:22:39 +03:00
sql_analyse.h
sql_analyze_stmt.cc
sql_analyze_stmt.h Added rowid_filter support to Aria 2023-02-03 10:42:28 +03:00
sql_array.h
sql_audit.cc Merge 10.6 into 10.7 2022-09-21 09:33:07 +03:00
sql_audit.h
sql_base.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_base.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_basic_types.h
sql_binlog.cc Merge branch '10.7' into 10.8 2022-10-04 11:42:37 +02:00
sql_binlog.h
sql_bitmap.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_bootstrap.cc
sql_bootstrap.h
sql_builtin.cc.in
sql_cache.cc Merge 10.5 into 10.6 2022-11-28 12:20:17 +02:00
sql_cache.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_callback.h
sql_class.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_class.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_client.cc
sql_cmd.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
sql_connect.cc Merge 10.5 into 10.6 2023-01-03 18:13:11 +02:00
sql_connect.h
sql_const.h Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
sql_crypt.cc
sql_crypt.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_cte.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
sql_cte.h Merge branch '10.3' into 10.4 2023-01-28 18:22:55 +01:00
sql_cursor.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_cursor.h
sql_db.cc MDEV-5215 Granted to PUBLIC 2022-11-01 22:15:14 +01:00
sql_db.h
sql_debug.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_delete.cc MDEV-30256 Wrong result (missing rows) upon join with empty table 2023-02-10 12:58:50 +02:00
sql_delete.h
sql_derived.cc Derived tables and union can now create distinct keys 2023-02-02 22:32:57 +03:00
sql_derived.h
sql_digest_stream.h
sql_digest.cc
sql_digest.h
sql_do.cc
sql_do.h
sql_error.cc
sql_error.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
sql_explain.cc Added r_table_loops to "ANALYZE FORMAT=JSON statement" 2023-02-21 15:36:15 +03:00
sql_explain.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_expression_cache.cc
sql_expression_cache.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_get_diagnostics.cc
sql_get_diagnostics.h
sql_handler.cc Cache file->index_flags(index, 0, 1) in table->key_info[index].index_flags 2023-02-03 14:38:26 +03:00
sql_handler.h
sql_help.cc Ensure that test_quick_select doesn't return more rows than in the table 2023-01-30 15:22:20 +02:00
sql_help.h
sql_hset.h Whitespace fix 2023-02-15 15:08:16 +02:00
sql_i_s.h
sql_insert.cc Merge branch '10.10' into 10.11 2023-01-31 11:07:08 +01:00
sql_insert.h
sql_join_cache.cc MDEV-30603: Wrong result with non-default JOIN_CACHE_LEVEL=[4|5] ... 2023-02-15 11:36:12 +03:00
sql_join_cache.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_lex.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_lex.h Merge 10.9 into 10.10 2023-02-16 11:36:38 +02:00
sql_lifo_buffer.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_limit.h
sql_list.cc MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables" 2022-10-21 14:49:05 -06:00
sql_list.h Merge branch '10.10' into 10.11 2023-01-31 11:07:08 +01:00
sql_load.cc MDEV-30128 remove support for 5.1- replication events 2023-02-05 22:02:30 +01:00
sql_load.h
sql_locale.cc MDEV-30621: Türkiye is the correct current country naming 2023-02-10 17:07:38 +11:00
sql_locale.h
sql_manager.cc
sql_manager.h
sql_mode.cc
sql_mode.h
sql_parse.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_parse.h cleanup 2022-10-26 15:30:38 +02:00
sql_partition_admin.cc Revert MDEV-25292 Atomic CREATE OR REPLACE TABLE 2022-10-27 23:13:41 +02:00
sql_partition_admin.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_partition.cc Merge 10.8 into 10.9 2022-11-21 10:25:38 +02:00
sql_partition.h
sql_plist.h
sql_plugin_compat.h
sql_plugin_services.inl Merge 10.6 into 10.7 2023-01-24 14:35:36 +02:00
sql_plugin.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_plugin.h remove SHOW_OPTIMIZER_COST 2023-02-10 12:59:36 +02:00
sql_prepare.cc Merge 10.10 into 10.11 2023-02-16 11:41:18 +02:00
sql_prepare.h Merge 10.6 into 10.8 2023-02-10 13:43:53 +02:00
sql_priv.h MDEV-16546 System versioning setting to allow history modification 2022-10-26 15:30:38 +02:00
sql_profile.cc
sql_profile.h
sql_reload.cc Set thd->query() for internal (startup) transactions 2023-02-03 10:34:49 +03:00
sql_reload.h
sql_rename.cc Revert MDEV-25292 Atomic CREATE OR REPLACE TABLE 2022-10-27 23:13:41 +02:00
sql_rename.h
sql_repl.cc MDEV-30128 remove support for 5.1- replication events 2023-02-05 22:02:30 +01:00
sql_repl.h
sql_schema.cc
sql_schema.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_select.cc MDEV-30699: Updated prev_record_reads() to be more exact 2023-02-21 15:36:39 +03:00
sql_select.h MDEV-30699: Updated prev_record_reads() to be more exact 2023-02-21 15:36:39 +03:00
sql_sequence.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
sql_sequence.h
sql_servers.cc Set thd->query() for internal (startup) transactions 2023-02-03 10:34:49 +03:00
sql_servers.h
sql_show.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_show.h
sql_signal.cc
sql_signal.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_sort.h Refactor Sort_param::init_for_filesort 2023-02-02 23:08:00 +03:00
sql_state.c
sql_statistics.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_statistics.h
sql_string.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_string.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_table.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_table.h Merge branch '10.8' into 10.9 2023-01-31 10:37:31 +01:00
sql_test.cc Add limits for how many IO operations a table access will do 2023-02-02 23:57:30 +03:00
sql_test.h
sql_time.cc Merge branch '10.9' into 10.10 2022-11-01 11:55:28 +01:00
sql_time.h
sql_trigger.cc Revert MDEV-25292 Atomic CREATE OR REPLACE TABLE 2022-10-27 23:13:41 +02:00
sql_trigger.h Revert MDEV-25292 Atomic CREATE OR REPLACE TABLE 2022-10-27 23:13:41 +02:00
sql_truncate.cc Revert MDEV-25292 Atomic CREATE OR REPLACE TABLE 2022-10-27 23:13:41 +02:00
sql_truncate.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_tvc.cc Simplified code in generate_derived_keys() and when using pos_in_tables 2023-02-10 12:58:50 +02:00
sql_tvc.h
sql_type_fixedbin_storage.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_type_fixedbin.h Merge branch '10.8' into 10.9 2023-01-31 10:37:31 +01:00
sql_type_geom.cc
sql_type_geom.h Merge 10.5 into 10.6 2022-11-08 17:37:22 +02:00
sql_type_int.h
sql_type_json.cc
sql_type_json.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_type_real.h
sql_type_string.cc
sql_type_string.h
sql_type.cc
sql_type.h Merge 10.8 into 10.9 2023-02-16 10:25:34 +02:00
sql_udf.cc Set thd->query() for internal (startup) transactions 2023-02-03 10:34:49 +03:00
sql_udf.h
sql_union.cc MDEV-30310 Assertion failure in best_access_path upon IN exceeding IN_PREDICATE_CONVERSION_THRESHOLD, derived_with_keys=off 2023-02-10 12:58:50 +02:00
sql_union.h MDEV-16546 System versioning setting to allow history modification 2022-10-26 15:30:38 +02:00
sql_update.cc MDEV-30256 Wrong result (missing rows) upon join with empty table 2023-02-10 12:58:50 +02:00
sql_update.h
sql_view.cc Remove strlen() from Item::cleanup 2023-02-03 11:26:03 +03:00
sql_view.h Merge 10.5 into 10.6 2022-10-25 14:25:42 +03:00
sql_window.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sql_window.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_yacc.yy Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
strfunc.cc
strfunc.h
structs.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sys_vars_shared.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sys_vars.cc Merge 11.0-selectivity into 11.0 2023-02-15 12:03:12 +03:00
sys_vars.inl remove GET_ADJUST_VALUE 2023-02-10 12:59:36 +02:00
table_cache.cc
table_cache.h
table.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
table.h Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
temporary_tables.cc
thr_malloc.cc
thr_malloc.h
thread_cache.h
thread_pool_info.cc
threadpool_common.cc MDEV-27943 Reduce overhead of attaching THD to OS thread, in threadpool 2022-10-11 00:08:54 +02:00
threadpool_generic.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
threadpool_generic.h
threadpool_win.cc
threadpool_winsockets.cc
threadpool_winsockets.h
threadpool.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
transaction.cc
transaction.h
tzfile.h
tztime.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
tztime.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
udf_example.c
udf_example.def
uniques.cc Added rowid_filter support to Aria 2023-02-03 10:42:28 +03:00
uniques.h Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
unireg.cc
unireg.h Merge 10.5 into 10.6 2023-01-03 18:13:11 +02:00
upgrade_conf_file.cc
vers_string.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
win_tzname_data.h Update Windows time zone mappings using latest CLDR data 2023-02-09 09:15:08 +01:00
winmain.cc
winservice.c MDEV-30498 Rename mysql_upgrade state file to mariadb_upgrade 2023-02-07 07:29:04 +00:00
winservice.h
wsrep_allowlist_service.cc Merge 10.9 into 10.10 2022-09-06 10:51:18 +03:00
wsrep_allowlist_service.h
wsrep_applier.cc
wsrep_applier.h
wsrep_binlog.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
wsrep_binlog.h
wsrep_check_opts.cc MDEV-30318: galera error messages in mariadb log without galera enabled 2023-02-15 17:46:26 +01:00
wsrep_client_service.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
wsrep_client_service.h
wsrep_client_state.h
wsrep_condition_variable.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
wsrep_dummy.cc MDEV-24623 Replicate bulk insert as table-level exclusive key 2023-01-24 11:54:25 +02:00
wsrep_event_service.cc MDEV-29281 Report events from provider (add node eviction event) 2023-02-10 11:30:46 +01:00
wsrep_event_service.h MDEV-29281 Report events from provider (add node eviction event) 2023-02-10 11:30:46 +01:00
wsrep_high_priority_service.cc MDEV-25037 : SIGSEGV in MDL_lock::hog_lock_types_bitmap 2023-01-27 08:38:27 +02:00
wsrep_high_priority_service.h
wsrep_mutex.h
wsrep_mysqld_c.h
wsrep_mysqld.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
wsrep_mysqld.h Merge branch '10.9' into 10.10 2023-01-18 16:45:59 +01:00
wsrep_notify.cc
wsrep_on.h Reduce compilation dependencies on wsrep_mysqld.h 2022-08-31 11:05:23 +03:00
wsrep_plugin.cc MDEV-22570 fixup: Silence clang -Wunneeded-internal-declaration 2023-02-16 13:35:21 +02:00
wsrep_plugin.h Update wsrep-lib submodule 2023-02-10 11:30:46 +01:00
wsrep_priv.h Reduce compilation dependencies on wsrep_mysqld.h 2022-08-31 11:05:23 +03:00
wsrep_schema.cc Merge 10.9 into 10.10 2023-02-16 11:36:38 +02:00
wsrep_schema.h
wsrep_server_service.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
wsrep_server_service.h
wsrep_server_state.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
wsrep_server_state.h MDEV-22570 Implement wsrep_provider_options as plugin 2023-02-14 12:01:54 +01:00
wsrep_sst.cc Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
wsrep_sst.h
wsrep_status.cc
wsrep_status.h MDEV-29281 Report events from provider (add node eviction event) 2023-02-10 11:30:46 +01:00
wsrep_storage_service.cc
wsrep_storage_service.h
wsrep_thd.cc Merge 10.5 into 10.6 2023-01-17 20:02:29 +02:00
wsrep_thd.h Merge branch 10.4 into 10.5 2023-01-14 08:25:57 +02:00
wsrep_trans_observer.h Merge 10.8 into 10.9 2022-10-13 10:56:57 +03:00
wsrep_types.h
wsrep_utils.cc MDEV-24377: Accept comma separated addresses as --bind-address value (#2009) 2022-10-27 10:42:30 +01:00
wsrep_utils.h
wsrep_var.cc MDEV-30318: galera error messages in mariadb log without galera enabled 2023-02-15 17:46:26 +01:00
wsrep_var.h MDEV-22570 Implement wsrep_provider_options as plugin 2023-02-14 12:01:54 +01:00
wsrep_xid.cc
wsrep_xid.h
xa.cc Merge branch '10.8' into 10.9 2023-01-31 10:37:31 +01:00
xa.h