mariadb/sql
Sergei Petrunia 4941ac9192 MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref
(Variant#3: Allow cross-charset comparisons, use a special
CHARSET_INFO to create lookup keys. Review input addressed.)

Equalities that compare utf8mb{3,4}_general_ci strings, like:

  WHERE ... utf8mb3_key_col=utf8mb4_value    (MB3-4-CMP)

can now be used to construct ref[const] access and also participate
in multiple-equalities.
This means that utf8mb3_key_col can be used for key-lookups when
compared with an utf8mb4 constant, field or expression using '=' or
'<=>' comparison operators.

This is controlled by optimizer_switch='cset_narrowing=on', which is
OFF by default.

IMPLEMENTATION
Item value comparison in (MB3-4-CMP) is done using utf8mb4_general_ci.
This is valid as any utf8mb3 value is also an utf8mb4 value.

When making index lookup value for utf8mb3_key_col, we do "Charset
Narrowing": characters that are in the Basic Multilingual Plane (=BMP) are
copied as-is, as they can be represented in utf8mb3. Characters that are
outside the BMP cannot be represented in utf8mb3 and are replaced
with U+FFFD, the "Replacement Character".

In utf8mb4_general_ci, the Replacement Character compares as equal to any
character that's not in BMP. Because of this, the constructed lookup value
will find all index records that would be considered equal by the original
condition (MB3-4-CMP).

Approved-by: Monty <monty@mariadb.org>
2023-10-19 17:24:30 +03:00
..
share Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
add_errmsg
authors.h
backup.cc Merge 10.5 into 10.6 2023-08-15 11:21:34 +03:00
backup.h
bounded_queue.h
client_settings.h
CMakeLists.txt MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
compat56.cc
compat56.h
contributors.h Update contributors 2022-03-23 10:47:27 +11:00
create_options.cc
create_options.h
create_tmp_table.h
cset_narrowing.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
cset_narrowing.h MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
custom_conf.h
datadict.cc Merge 10.5 into 10.6 2022-04-06 12:08:30 +03:00
datadict.h
ddl_log.cc MDEV-31521 bzero wipes more bytes than necessary in set_global_from_ddl_log_entry. 2023-07-13 19:54:39 +04:00
ddl_log.h
debug.cc
debug.h
debug_sync.cc MDEV-31871: maria-install-db fails on MacOS 2023-09-22 12:02:47 +07:00
debug_sync.h
derived_handler.cc MDEV-29284 ANALYZE doesn't work with pushed derived tables 2023-07-07 15:15:24 +07: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 MDEV-24841 Build error with MSAN use-of-uninitialized-value in comp_err 2022-03-14 09:28:55 +02:00
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-28915: mysql_upgrade fails due to old_mode="", with "Cannot load from 2023-06-26 15:10:30 +05:30
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 Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
events.h
field.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
field.h Merge 10.5 into 10.6 2023-10-19 13:50:00 +03:00
field_comp.cc
field_comp.h
field_conv.cc Merge 10.5 into 10.6 2023-08-15 11:21:34 +03:00
filesort.cc Merge branch '10.5' into 10.6 2023-08-04 12:14:00 +02:00
filesort.h
filesort_utils.cc
filesort_utils.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
gcalc_slicescan.cc Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
gcalc_slicescan.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
gcalc_tools.cc enable -Wenum-compare -Wenum-conversion 2022-05-15 20:37:51 +02:00
gcalc_tools.h enable -Wenum-compare -Wenum-conversion 2022-05-15 20:37:51 +02: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 Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
gstream.cc
gstream.h
ha_handler_stats.h MDEV-31558 Add InnoDB engine information to the slow query log 2023-07-07 12:53:18 +03:00
ha_partition.cc MDEV-31835 Remove unnecesary extra HA_EXTRA_IGNORE_INSERT call 2023-08-25 17:22:17 +05:30
ha_partition.h MDEV-31558 Add InnoDB engine information to the slow query log 2023-07-07 12:53:18 +03:00
ha_sequence.cc Merge branch 'bb-10.4-release' into bb-10.5-release 2023-05-02 13:54:54 +02:00
ha_sequence.h
handle_connections_win.cc
handle_connections_win.h
handler.cc Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
handler.h Merge branch '10.5' into 10.6 2023-08-04 07:52:54 +02:00
hash_filo.cc
hash_filo.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
hostname.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
item.h MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
item_buff.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_cmpfunc.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
item_cmpfunc.h MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
item_create.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
item_create.h Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
item_func.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
item_func.h Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
item_geofunc.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_geofunc.h
item_jsonfunc.cc Merge 10.5 into 10.6 2023-02-14 15:23:23 +02:00
item_jsonfunc.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
item_row.cc
item_row.h
item_strfunc.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
item_strfunc.h Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
item_subselect.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
item_subselect.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_sum.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
item_sum.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_timefunc.cc Merge 10.5 into 10.6 2021-10-28 09:08:58 +03:00
item_timefunc.h MDEV-29152: Assertion failed ... upon TO_CHAR with wrong argument 2023-07-12 12:05:59 +03:00
item_vers.cc Merge 10.5 into 10.6 2021-10-13 13:28:12 +03:00
item_vers.h
item_windowfunc.cc Merge branch '10.5 into 10.6 2022-02-10 21:07:03 +01:00
item_windowfunc.h
item_xmlfunc.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
item_xmlfunc.h
json_table.cc MDEV-28480: Assertion `0' failed in Item_row::illegal_method_call on 2022-10-13 14:55:27 +05:30
json_table.h MDEV-25875: JSON_TABLE: extract document fragment into JSON column 2022-05-31 12:09:11 +05:30
key.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
key.h
keycaches.cc
keycaches.h
lex.h
lex_string.h MDEV-30662 SQL/PL package body does not appear in I_S.ROUTINES.ROUTINE_DEFINITION 2023-07-14 13:26:26 +04:00
lex_symbol.h
lock.cc Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
lock.h
log.cc MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
log.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
log_event.cc MDEV-32093 long uniques break old->new replication 2023-09-06 22:38:41 +02:00
log_event.h MDEV-29894: Calling a function from a different database in a slave side trigger crashes 2023-06-21 12:51:01 -06:00
log_event_client.cc Merge 10.5 into 10.6 2023-03-22 15:54:45 +02:00
log_event_old.cc
log_event_old.h
log_event_server.cc Merge 10.5 into 10.6 2023-09-14 09:01:15 +03:00
log_slow.h MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
main.cc
mariadb.h
mdl.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +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.cc
mf_iocache_encr.cc
MSG00001.bin
multi_range_read.cc Merge 10.5 into 10.6 2023-06-26 17:11:38 +03:00
multi_range_read.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +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 Merge 10.5 into 10.6 2021-11-16 16:30:45 +02:00
my_json_writer.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
myskel.m4.in
mysql_install_db.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
mysql_upgrade_service.cc Merge branch 10.4 into 10.5 2021-12-26 12:51:04 +01:00
mysqld.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
mysqld.h Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
mysqld_suffix.h
net_serv.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
opt_index_cond_pushdown.cc
opt_range.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
opt_range.h Change SEL_ARG::MAX_SEL_ARGS to a user defined variable optimizer_max_sel_args 2023-10-03 08:25:31 +03:00
opt_range_mrr.cc
opt_split.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
opt_subselect.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
opt_subselect.h Merge 10.4 into 10.5 2022-06-09 12:22:55 +03:00
opt_sum.cc Merge 10.5 into 10.6 2023-01-10 13:54:17 +02:00
opt_table_elimination.cc MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
opt_trace.cc MDEV-27306: SET STATEMENT optimizer_trace=1 Doesn't save the trace 2021-12-19 17:19:02 +03:00
opt_trace.h MDEV-27306: SET STATEMENT optimizer_trace=1 Doesn't save the trace 2021-12-19 17:19:02 +03:00
opt_trace_context.h
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 Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
partition_info.cc Merge 10.5 into 10.6 2022-12-13 16:58:58 +02:00
partition_info.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
password.c
plistsort.c
privilege.h Merge 10.5 into 10.6 2022-10-25 14:25:42 +03:00
procedure.cc
procedure.h
protocol.cc MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
protocol.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
proxy_protocol.cc
proxy_protocol.h
records.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rowid_filter.cc Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
rowid_filter.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_gtid.cc Merge 10.5 into 10.6 2023-08-15 11:21:34 +03:00
rpl_gtid.h Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
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-28609 refine gtid-strict-mode to ignore same server-id gtid from the past 2022-07-26 16:01:14 +03:00
rpl_mi.h MDEV-28609 refine gtid-strict-mode to ignore same server-id gtid from the past 2022-07-26 16:01:14 +03:00
rpl_parallel.cc Merge 10.5 into 10.6 2023-09-14 09:01:15 +03:00
rpl_parallel.h Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
rpl_record.cc MDEV-29613 Improve WITH_DBUG_TRACE=OFF 2022-09-23 13:40:42 +03:00
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h rpl_reporting: sprintf -> snprintf 2023-03-24 12:04:16 +11:00
rpl_rli.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
rpl_rli.h
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
rpl_utility_server.cc MDEV-27018 IF and COALESCE lose "json" property 2022-01-21 19:28:48 +04:00
scheduler.cc
scheduler.h
select_handler.cc Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
select_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
semisync.cc
semisync.h
semisync_master.cc Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
semisync_master.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +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_slave.cc Merge branch '10.5' into 10.6 2022-05-10 14:01:23 +02:00
semisync_slave.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
service_wsrep.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
session_tracker.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
session_tracker.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
set_var.cc Merge 10.5 into 10.6 2022-01-04 09:26:38 +02:00
set_var.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
signal_handler.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
slave.cc Merge 10.5 into 10.6 2023-09-14 15:25:53 +03:00
slave.h Merge branch '10.3' into 10.4 2023-05-02 10:09:27 +02:00
sp.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sp.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sp_cache.cc Merge branch '10.4' into 10.5 2022-05-09 22:04:06 +02:00
sp_cache.h
sp_head.cc Merge branch '10.5' into 10.6 2023-09-05 14:44:52 +07:00
sp_head.h Merge branch '10.5' into 10.6 2023-09-05 14:44:52 +07:00
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc
sp_rcontext.h
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.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_acl.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_acl_getsort.ic
sql_admin.cc MDEV-31957 Concurrent ALTER and ANALYZE collecting statistics can result in stale statistical data 2023-10-03 08:25:30 +03:00
sql_admin.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_alloc.h
sql_alter.cc MDEV-31957 Concurrent ALTER and ANALYZE collecting statistics can result in stale statistical data 2023-10-03 08:25:30 +03:00
sql_alter.h MDEV-32449 Server crashes in Alter_info::add_stat_drop_index upon CREATE TABLE 2023-10-14 15:46:29 +03: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 MDEV-31558 Add InnoDB engine information to the slow query log 2023-07-07 12:53:18 +03:00
sql_array.h
sql_audit.cc Merge 10.4 into 10.5 2022-09-20 13:17:02 +03:00
sql_audit.h
sql_base.cc Give warnings if open_stat_table_for_ddl() fails 2023-10-03 08:25:31 +03:00
sql_base.h Remember first error in Dummy_error_handler 2023-10-10 11:12:26 +03:00
sql_basic_types.h
sql_binlog.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
sql_binlog.h
sql_bitmap.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_bootstrap.cc
sql_bootstrap.h MDEV-28701 Update Server HELP 2022-08-02 16:35:15 +10:00
sql_builtin.cc.in In case WITH_WSREP is enabled, build wsrep as plugin 2021-11-09 17:04:49 +02:00
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.5 into 10.6 2023-10-06 14:34:01 +03:00
sql_class.h Remember first error in Dummy_error_handler 2023-10-10 11:12:26 +03:00
sql_client.cc
sql_cmd.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +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 Merge 10.5 into 10.6 2022-12-05 18:04:23 +02: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 compilation fixes for sys-devel/gcc-11.2.0:11 2021-10-28 12:01:25 +02:00
sql_db.cc
sql_db.h
sql_debug.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_delete.cc MDEV-31764: ASAN use-after-poison in trace_engine_stats in ANALYZE JSON 2023-08-01 22:32:54 +03:00
sql_delete.h
sql_derived.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02: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 MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
sql_explain.cc MDEV-31577: Make ANALYZE FORMAT=JSON print innodb stats 2023-07-21 16:50:11 +03:00
sql_explain.h MDEV-31764: ASAN use-after-poison in trace_engine_stats in ANALYZE JSON 2023-08-01 22:32:54 +03:00
sql_expression_cache.cc Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
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 Merge branch '10.5' into 10.6 2022-05-10 14:01:23 +02:00
sql_handler.h
sql_help.cc
sql_help.h
sql_hset.h Whitespace fix 2023-02-15 15:08:16 +02:00
sql_i_s.h Merge 10.5 into 10.6 2022-05-06 11:11:04 +03:00
sql_insert.cc Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
sql_insert.h
sql_join_cache.cc Merge branch '10.5' into 10.6 2023-08-10 21:18:25 +02:00
sql_join_cache.h Merge branch '10.5' into 10.6 2023-08-10 21:18:25 +02:00
sql_lex.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_lex.h Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +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 Merge 10.5 into 10.6 2023-05-23 12:25:39 +03:00
sql_list.cc
sql_list.h Merge branch '10.3' into 10.4 2023-01-28 18:22:55 +01:00
sql_load.cc Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
sql_load.h
sql_locale.cc MDEV-30630 locale: Chinese error messages for ZH_CN 2023-02-15 22:39:38 +11:00
sql_locale.h
sql_manager.cc Merge branch '10.4' into 10.5 2022-05-09 22:04:06 +02:00
sql_manager.h
sql_mode.cc
sql_mode.h
sql_parse.cc Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
sql_parse.h
sql_partition.cc Merge branch '10.5' into 10.6 2023-08-04 07:52:54 +02:00
sql_partition.h Merge branch '10.5' into 10.6 2023-08-04 07:52:54 +02:00
sql_partition_admin.cc Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
sql_partition_admin.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_plist.h
sql_plugin.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_plugin.h
sql_plugin_compat.h
sql_plugin_services.inl MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
sql_prepare.cc Merge branch '10.5' into 10.6 2023-09-05 14:44:52 +07:00
sql_prepare.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_priv.h MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
sql_profile.cc
sql_profile.h
sql_reload.cc Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
sql_reload.h
sql_rename.cc Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
sql_rename.h
sql_repl.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_repl.h
sql_schema.cc MDEV-31153 New methods Schema::make_item_func_* for REPLACE, SUBSTRING, TRIM 2023-04-29 08:06:46 +04:00
sql_schema.h Merge branch 'bb-10.4-release' into bb-10.5-release 2023-05-02 13:54:54 +02:00
sql_select.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
sql_select.h MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
sql_sequence.cc Merge branch '10.4' into 10.5 2023-07-26 16:02:57 +02:00
sql_sequence.h
sql_servers.cc
sql_servers.h
sql_show.cc Merge branch '10.5' into 10.6 2023-09-05 14:44:52 +07: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 Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_state.c
sql_statistics.cc Fixed crash in is_stat_table() when using hash joins. 2023-10-19 16:17:01 +03:00
sql_statistics.h Fixed crash in is_stat_table() when using hash joins. 2023-10-19 16:17:01 +03:00
sql_string.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_string.h cleanup: String::strstr() const 2023-07-04 16:37:29 +02:00
sql_table.cc Post fix for MDEV-32449 2023-10-16 12:55:17 +03:00
sql_table.h Merge branch '10.5' into 10.6 2023-08-04 07:52:54 +02:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc Merge 10.5 into 10.6 2023-03-28 15:25:52 +03:00
sql_test.h
sql_time.cc Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
sql_time.h
sql_trigger.cc MDEV-25606: Concurrent CREATE TRIGGER statements mix up in binlog and break replication 2022-10-20 10:30:34 +02:00
sql_trigger.h Merge branch '10.5' into 10.6 2022-10-02 22:14:21 +02:00
sql_truncate.cc
sql_truncate.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_tvc.cc Merge 10.5 into 10.6 2023-10-06 14:34:01 +03:00
sql_tvc.h Merge branch '10.4' into 10.5 2023-09-25 13:06:57 +10:00
sql_type.cc cleanup: remove Type_collection::handler_by_name() 2023-07-04 16:37:29 +02:00
sql_type.h MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
sql_type_fixedbin.h MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
sql_type_fixedbin_storage.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_type_geom.cc MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
sql_type_geom.h MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
sql_type_int.h Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_type_json.cc cleanup: remove Type_collection::handler_by_name() 2023-07-04 16:37:29 +02:00
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_udf.cc Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
sql_udf.h
sql_union.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_union.h
sql_update.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
sql_update.h
sql_view.cc Fixed some errors & warnings when running mariadb-upgrade on MySQL instance 2023-06-25 16:15:08 +03:00
sql_view.h Merge 10.5 into 10.6 2022-10-25 14:25:42 +03:00
sql_window.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +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 branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
strfunc.cc Merge branch '10.5' into 10.6 2022-08-10 13:06:08 +02:00
strfunc.h
structs.h MDEV-31957 Concurrent ALTER and ANALYZE collecting statistics can result in stale statistical data 2023-10-03 08:25:30 +03:00
sys_vars.cc MDEV-32113: utf8mb3_key_col=utf8mb4_value cannot be used for ref 2023-10-19 17:24:30 +03:00
sys_vars.inl MDEV-32203 Raise notes when an index cannot be used on data type mismatch 2023-10-03 08:25:31 +03:00
sys_vars_shared.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
table.cc Small corrections to MDEV-29693 ANALYZE TABLE 2023-09-05 19:37:07 +03:00
table.h Small corrections to MDEV-29693 ANALYZE TABLE 2023-09-05 19:37:07 +03:00
table_cache.cc Fix GCC 13.2.0 -Wmismatched-new-delete 2023-10-06 08:19:20 +03:00
table_cache.h
temporary_tables.cc MDEV-23000: Ensure we get a warning from THD::drop_temporary_table() in case of disk errors 2023-03-09 08:51:00 +11:00
thr_malloc.cc
thr_malloc.h
thread_cache.h
thread_pool_info.cc
threadpool.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
threadpool_common.cc MDEV-27943 - reduce calls to mysql_socket_set_thread_owner() in threadpool 2023-09-27 15:02: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 MDEV-28995 Sporadic Assertion on shutdown in threadpool_winsockets.cc 2022-07-01 13:04:44 +02:00
threadpool_winsockets.h
transaction.cc
transaction.h
tzfile.h
tztime.cc [MDEV-30854] Do not use " as string delimiter in mariadb-tzinfo-to-sql 2023-04-18 16:53:31 +10: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
uniques.h
unireg.cc Merge 10.5 into 10.6 2022-03-29 16:16:21 +03:00
unireg.h Merge 10.5 into 10.6 2023-01-03 18:13:11 +02:00
upgrade_conf_file.cc MDEV-26966: Remove innodb_force_load_corrupted 2021-11-04 09:55:35 +02:00
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 MDEV-10183 implement service_manager_extend_timeout on Windows 2022-04-11 07:49:43 +02:00
winservice.c
winservice.h
wsrep_applier.cc
wsrep_applier.h
wsrep_binlog.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
wsrep_binlog.h
wsrep_check_opts.cc Reduce compilation dependencies on wsrep_mysqld.h 2022-08-31 11:05:23 +03:00
wsrep_client_service.cc Merge 10.5 into 10.6 2023-04-25 13:10:33 +03: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-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
wsrep_high_priority_service.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
wsrep_high_priority_service.h
wsrep_mutex.h WSREP: Fix GCC 12.0.1 -Wuninitialized 2022-02-23 07:18:00 +02:00
wsrep_mysqld.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
wsrep_mysqld.h Merge 10.5 into 10.6 2023-08-15 11:21:34 +03:00
wsrep_mysqld_c.h
wsrep_notify.cc Merge branch '10.4' into 10.5 2023-09-14 16:30:11 +10:00
wsrep_on.h Reduce compilation dependencies on wsrep_mysqld.h 2022-08-31 11:05:23 +03:00
wsrep_plugin.cc
wsrep_priv.h MDEV-31413 : Node has been dropped from the cluster on Startup / Shutdown with async replica 2023-08-08 03:25:56 +02:00
wsrep_schema.cc Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
wsrep_schema.h MDEV-21479 : Galera 4 unable to query cluster state if not primary component 2023-05-16 13:11:44 +02:00
wsrep_server_service.cc Merge 10.5 into 10.6 2023-08-15 11:21:34 +03:00
wsrep_server_service.h MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
wsrep_server_state.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
wsrep_server_state.h
wsrep_sst.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
wsrep_sst.h Merge 10.3 into 10.4 2022-06-27 10:14:37 +03:00
wsrep_storage_service.cc
wsrep_storage_service.h
wsrep_thd.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
wsrep_thd.h MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:42:05 +02:00
wsrep_trans_observer.h Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
wsrep_types.h
wsrep_utils.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
wsrep_utils.h MDEV-29861 : Galera "notify" test cases hang 2023-09-11 23:06:15 +02:00
wsrep_var.cc Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
wsrep_var.h Changed some malloc() calls to my_malloc() 2023-10-03 08:25:30 +03:00
wsrep_xid.cc
wsrep_xid.h
xa.cc MDEV-32257 dangling XA-rollback in binlog from emtpy XA in pseudo_slave_mode 2023-09-29 15:54:09 +03:00
xa.h