mariadb/sql
Alexander Barkov a931da82fa MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query
Search conditions were evaluated using val_int(), which was wrong.
Fixing the code to use val_bool() instead.

Details:
- Adding a new item_base_t::IS_COND flag which marks Items used
  as <search condition> in WHERE, HAVING, JOIN ON, CASE WHEN clauses.
  The flag is at the parse time.
  These expressions must be evaluated using val_bool() rather than val_int().

  Note, the optimizer creates more Items which are used as search conditions.
  Most of these items are not marked with IS_COND yet. This is OK for now,
  but eventually these Items can also be fixed to have the flag.

- Adding a method Item::is_cond() which tests if the Item has the IS_COND flag.

- Implementing Item_cache_bool. It evaluates the cached expression using
  val_bool() rather than val_int().
  Overriding Type_handler_bool::Item_get_cache() to create Item_cache_bool.

- Implementing Item::save_bool_in_field(). It uses val_bool() rather than
  val_int() to evaluate the expression.

- Implementing Type_handler_bool::Item_save_in_field()
  using Item::save_bool_in_field().

- Fixing all Item_bool_func descendants to implement a virtual val_bool()
  rather than a virtual val_int().

- To find places where val_int() should be fixed to val_bool(), a few
  DBUG_ASSERT(!is_cond()) where added into val_int() implementations
  of selected (most frequent) classes:

  Item_field
  Item_str_func
  Item_datefunc
  Item_timefunc
  Item_datetimefunc
  Item_cache_bool
  Item_bool_func
  Item_func_hybrid_field_type
  Item_basic_constant descendants

- Fixing all places where DBUG_ASSERT() happened during an "mtr" run
  to use val_bool() instead of val_int().
2024-10-08 11:58:46 +02:00
..
share MDEV-12008 fixup: Do not add a new error code 2024-06-24 12:08:13 +03:00
add_errmsg
authors.h
backup.cc Merge branch '10.5' into 10.6 2023-11-08 15:57:05 +01:00
backup.h
bounded_queue.h
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
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 MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
datadict.cc Merge 10.5 into 10.6 2022-04-06 12:08:30 +03:00
datadict.h
ddl_log.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
ddl_log.h Minor cleanups of atomic ddl code 2021-06-19 03:46:00 +03:00
debug.cc Merge 10.5 into 10.6 2024-01-17 13:35:05 +02:00
debug.h
debug_sync.cc Merge 10.5 into 10.6 2024-03-18 17:07:32 +02: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 openssl: add a more specific DES support detection 2024-04-30 23:09:02 +10:00
des_key_file.h openssl: add a more specific DES support detection 2024-04-30 23:09:02 +10:00
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 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 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 branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
event_queue.h
event_scheduler.cc Merge 10.5 into 10.6 2021-06-21 17:49:33 +03:00
event_scheduler.h
events.cc Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
events.h
field.cc Merge 10.5 into 10.6 2024-06-07 10:03:51 +03:00
field.h Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02: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 Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
filesort_utils.cc
filesort_utils.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
gcalc_slicescan.cc Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01: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 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 MDEV-21286: bison warnings on ubuntu 20.04 on deprecated directive in sql_yacc.yy 2021-09-22 07:27:02 +02:00
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-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 into 10.6 2024-06-24 13:09:47 +03:00
ha_partition.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
ha_sequence.cc Merge 10.4 into 10.5 2023-12-18 08:59:07 +02:00
ha_sequence.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
handle_connections_win.cc
handle_connections_win.h
handler.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
handler.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
hash_filo.cc MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
hash_filo.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
hostname.cc Merge 10.5 into 10.6 2024-05-30 14:27:07 +03:00
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_buff.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_cmpfunc.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_cmpfunc.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_create.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
item_create.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
item_func.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_func.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_geofunc.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58: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 MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_strfunc.h Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02:00
item_subselect.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
item_subselect.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
item_sum.cc Merge 10.5 into 10.6 2024-06-07 10:03:51 +03:00
item_sum.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
item_timefunc.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03: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 Merge branch '10.5 into 10.6 2022-02-10 21:07:03 +01:00
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 branch '10.5' into 10.6 2024-08-03 09:04:24 +02:00
key.h
keycaches.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
keycaches.h
lex.h MDEV-31616 Problems with a stored function EMPTY() on upgrade to 10.6. 2024-01-24 09:59:55 +04:00
lex_ident.h Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
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 branch '10.5' into 10.6 2023-11-08 15:57:05 +01:00
lock.h
log.cc Merge 10.5 into 10.6 2024-08-14 10:56:11 +03:00
log.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
log_event.cc MDEV-18590: galera.versioning_trx_id: Test failure: mysqltest: Result content mismatch 2024-04-27 18:40:58 +02:00
log_event.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
log_event_client.cc Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02:00
log_event_data_type.h MDEV-27666 User variable not parsed as geometry variable in geometry function 2024-01-16 18:53:23 +04:00
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 branch '10.5' into '10.6' 2024-09-01 06:51:25 +02: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 2024-06-24 13:09:47 +03: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 MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
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 2023-06-26 17:11:38 +03:00
multi_range_read.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
my_apc.cc MDEV-32728: Wrong mutex usage 'LOCK_thd_data' and 'wait_mutex' 2023-11-08 14:50:43 +01:00
my_apc.h MDEV-32728: Wrong mutex usage 'LOCK_thd_data' and 'wait_mutex' 2023-11-08 14:50:43 +01:00
my_decimal.cc MDEV-25778 Overrun buffer in to_string_native() 2021-06-07 18:15:39 +03:00
my_decimal.h
my_json_writer.cc Merge 10.5 into 10.6 2024-05-30 14:27:07 +03:00
my_json_writer.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
myskel.m4.in Backport "Fix generation of bison output for out-of-source builds."to 10.5 2021-09-11 00:23:14 +02:00
mysql_install_db.cc MDEV-34428 bootstrap can't delete tempfile, it is already gone 2024-06-19 22:16:02 +02:00
mysql_upgrade_service.cc Merge branch 10.4 into 10.5 2021-12-26 12:51:04 +01:00
mysqld.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
mysqld.h Merge branch '10.5' into 10.6 2024-07-03 13:27:23 +02: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 MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58: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 branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
opt_subselect.cc MDEV-33971 NAME_CONST in WHERE clause replaced by inner item 2024-07-10 17:23:43 -04:00
opt_subselect.h Merge 10.4 into 10.5 2022-06-09 12:22:55 +03:00
opt_sum.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
opt_table_elimination.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
opt_trace.cc Merge 10.5 into 10.6 2024-01-17 13:35:05 +02: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 2024-06-24 13:09:47 +03:00
partition_element.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
partition_info.cc MDEV-33971 NAME_CONST in WHERE clause replaced by inner item 2024-07-10 17:23:43 -04: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 Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
protocol.cc Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
protocol.h Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01: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 Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
repl_failsafe.h
replication.h
rowid_filter.cc Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
rowid_filter.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
rpl_constants.h
rpl_filter.cc Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08: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-06-07 10:03:51 +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 Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
rpl_mi.h MDEV-32551: "Read semi-sync reply magic number error" warnings on master 2024-01-23 13:03:11 +02:00
rpl_parallel.cc Merge 10.5 into 10.6 2024-08-27 08:52:10 +03:00
rpl_parallel.h MDEV-34042: Deadlock kill of XA PREPARE can break replication / rpl.rpl_parallel_multi_domain_xa sporadic failure 2024-05-02 21:07:51 +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 10.5 into 10.6 2024-08-27 08:52:10 +03:00
rpl_rli.h Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
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 Change connection_count back to static 2021-06-01 13:53:16 +10:00
scheduler.h Change connection_count back to static 2021-06-01 13:53:16 +10:00
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 MDEV-9159: Bring back assert in semisync_master.cc 2024-07-03 14:10:14 -06:00
semisync_master.h MDEV-33551: Semi-sync Wait Point AFTER_COMMIT Slow on Workloads with Heavy Concurrency 2024-03-21 08:42:18 -06:00
semisync_master_ack_receiver.cc MDEV-33582 Add more warnings to be able to better diagnose network issues 2024-03-05 20:19:49 +02:00
semisync_master_ack_receiver.h MDEV-33582 Add more warnings to be able to better diagnose network issues 2024-03-05 20:19:49 +02:00
semisync_slave.cc MDEV-33546: Rpl_semi_sync_slave_status is ON When Replication Is Not Configured 2024-02-29 07:38:55 -07:00
semisync_slave.h MDEV-32551: "Read semi-sync reply magic number error" warnings on master 2024-01-23 13:03:11 +02:00
service_wsrep.cc MDEV-34836: TOI on parent table must BF abort SR in progress on a child 2024-09-24 11:14:01 +02:00
session_tracker.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
session_tracker.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
set_var.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
set_var.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
signal_handler.cc Merge branch '10.5' into '10.6' 2024-09-01 06:51:25 +02:00
slave.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
slave.h Merge branch '10.3' into 10.4 2023-05-02 10:09:27 +02:00
socketpair.c Added socketpair.c as a replacement for 'pipe()' call for Windows. 2024-01-23 13:03:11 +02:00
socketpair.h Added socketpair.c as a replacement for 'pipe()' call for Windows. 2024-01-23 13:03:11 +02:00
sp.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sp.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sp_cache.cc Merge from 10.4 to 10.5 2024-04-15 17:46:49 +02:00
sp_cache.h
sp_head.cc Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
sp_head.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sp_pcontext.cc
sp_pcontext.h Merge branch '10.5' into 10.6 2023-11-08 15:57:05 +01:00
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 2024-06-24 13:09:47 +03:00
sql_acl.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
sql_acl.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_acl_getsort.ic
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 Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
sql_alter.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_analyse.cc Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02:00
sql_analyse.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
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 Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
sql_audit.cc Merge 10.4 into 10.5 2022-09-20 13:17:02 +03:00
sql_audit.h Merge 10.4 into 10.5 2021-08-18 18:22:35 +03:00
sql_base.cc MDEV-34251 Conditional jump or move depends on uninitialised value in ha_handler_stats::has_stats 2024-10-03 13:45:26 +03:00
sql_base.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_basic_types.h don't show DBUG_ASSERT to plugins 2021-06-11 13:02:55 +02:00
sql_binlog.cc Merge 10.5 into 10.6 2024-01-17 13:35:05 +02:00
sql_binlog.h
sql_bitmap.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_bootstrap.cc Check and remove high stack usage 2024-04-23 14:12:31 +03:00
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 branch '10.5' into 10.6 2024-04-11 13:58:22 +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 MDEV-34251 Conditional jump or move depends on uninitialised value in ha_handler_stats::has_stats 2024-10-03 13:45:26 +03:00
sql_class.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
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-10-03 09:31:39 +03: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 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 2024-01-11 12:59:22 +11:00
sql_cte.h Merge branch '10.4' into 10.5 2024-01-10 18:01:46 +11:00
sql_cursor.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03: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 Merge 10.5 into 10.6 2024-05-30 14:27:07 +03: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-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02: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 Merge 10.3 -> 10.4 2021-06-30 18:41:46 +03:00
sql_digest.cc Merge 10.5 into 10.6 2021-06-01 11:39:38 +03:00
sql_digest.h
sql_digest_stream.h
sql_do.cc
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 Merge 10.4 into 10.5 2024-02-12 11:38:13 +02:00
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 MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
sql_handler.h
sql_help.cc MDEV-32958 Unusable key notes do not get reported for some operations 2023-12-11 08:55:27 +04:00
sql_help.h MDEV-16708: Unsupported commands for prepared statements 2021-06-17 19:30:24 +02:00
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 branch '10.5' into '10.6' 2024-09-16 16:39:59 +02:00
sql_insert.h
sql_join_cache.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
sql_join_cache.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_lex.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
sql_lex.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
sql_lifo_buffer.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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.5' into 10.6 2024-07-16 15:54:22 +08:00
sql_load.cc Merge 10.5 into 10.6 2024-06-10 15:22:15 +03:00
sql_load.h
sql_locale.cc Fix Indonesian month name. 2024-06-05 14:06:16 +10:00
sql_locale.h
sql_manager.cc Fix windows build failure 2024-04-15 18:54:30 +02:00
sql_manager.h
sql_mode.cc
sql_mode.h
sql_parse.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
sql_parse.h MDEV-16708: Unsupported commands for prepared statements 2021-06-17 19:30:24 +02:00
sql_partition.cc MDEV-33971 NAME_CONST in WHERE clause replaced by inner item 2024-07-10 17:23:43 -04: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 Fix compiler errors 2024-07-03 12:45:30 +02:00
sql_plist.h
sql_plugin.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_plugin.h
sql_plugin_compat.h
sql_plugin_services.inl Merge 10.5 into 10.6 2024-02-08 10:38:53 +02:00
sql_prepare.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_prepare.h MDEV-27595 Backport SQL service, introduced by MDEV-19275. 2023-11-05 23:35:31 +04:00
sql_priv.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
sql_profile.cc Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
sql_profile.h Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
sql_reload.cc Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02: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 2024-05-30 14:27:07 +03:00
sql_repl.h MDEV-32551: "Read semi-sync reply magic number error" warnings on master 2024-01-23 13:03:11 +02:00
sql_schema.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_schema.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
sql_select.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
sql_select.h MDEV-34720: Poor plan choice for large JOIN with ORDER BY and small LIMIT 2024-09-02 16:37:18 +03:00
sql_sequence.cc Merge 10.4 into 10.5 2024-02-12 11:38:13 +02:00
sql_sequence.h MDEV-29771 Server crashes in check_sequence_fields upon CREATE TABLE .. SEQUENCE=1 AS SELECT .. 2023-09-27 08:54:26 +02:00
sql_servers.cc MDEV-33161 Function pointer signature mismatch in LF_HASH 2024-06-10 12:35:33 +03:00
sql_servers.h
sql_show.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58: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 2023-04-11 16:15:19 +03:00
sql_state.c
sql_statistics.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03: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 Merge 10.5 into 10.6 2024-03-27 15:00:56 +02:00
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-10-03 09:31:39 +03:00
sql_table.h Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc Merge 10.5 into 10.6 2024-06-13 19:58:11 +03:00
sql_test.h
sql_time.cc MDEV-30931 UBSAN: negation of -X cannot be represented in type 'long long int'; cast to an unsigned type to negate this value to itself in get_interval_value on SELECT 2024-05-27 13:19:13 +04:00
sql_time.h
sql_trigger.cc Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
sql_trigger.h Merge branch '10.5' into 10.6 2022-10-02 22:14:21 +02:00
sql_truncate.cc Merge 10.5 into 10.6 2021-09-17 20:07:38 +03:00
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 Merge branch '10.4' into 10.5 2023-09-25 13:06:57 +10:00
sql_type.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
sql_type.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
sql_type_fixedbin.h MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02: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 Merge 10.5 into 10.6 2024-01-17 13:35:05 +02: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 MDEV-24507: Server Crash using UDF in WHERE clause of VIEW 2024-02-13 15:28:43 +11:00
sql_union.cc Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
sql_union.h
sql_update.cc Merge branch '10.5' into 10.6 2024-09-06 13:52:57 +10:00
sql_update.h
sql_view.cc Merge branch '10.5' into 10.6 2024-01-11 12:59:22 +11: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 2024-08-03 09:04:24 +02:00
sql_window.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_yacc.yy MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
strfunc.cc Merge branch '10.5' into 10.6 2022-08-10 13:06:08 +02:00
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 Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
sys_vars.inl MDEV-34491 Setting log_slow_admin="" at startup should be converted to log_slow_admin=ALL 2024-07-02 11:26:13 +03:00
sys_vars_shared.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
table.cc MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query 2024-10-08 11:58:46 +02:00
table.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
table_cache.cc Merge 10.5 into 10.6 2024-06-10 15:22:15 +03:00
table_cache.h Merge branch '10.4' into 10.5 2024-01-10 18:01:46 +11:00
temporary_tables.cc Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
thr_malloc.cc
thr_malloc.h
thread_cache.h
thread_pool_info.cc Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
threadpool.h Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
threadpool_common.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
threadpool_generic.cc Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
threadpool_generic.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
threadpool_win.cc MDEV-23224 Windows threadpool - use better threadpool_max_threads default. 2024-03-19 11:57:38 +01:00
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 Merge 10.5 into 10.6 2024-06-07 10:03:51 +03:00
transaction.h
tzfile.h
tztime.cc MDEV-34505: galera.mariadb_tzinfo_to_sql fails deterministically on Ubuntu 24.04 2024-07-13 04:38:10 +02:00
tztime.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
udf_example.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
udf_example.def
uniques.cc
uniques.h
unireg.cc Merge 10.5 into 10.6 2024-02-13 20:42:59 +02: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-33488 Windows 11 misdetects mariadbd as LowQoS process, throttles CPU. 2024-02-19 15:35:06 +01:00
winservice.c
winservice.h
wsrep_applier.cc Merge branch '10.5' into '10.6' 2024-09-01 06:51:25 +02:00
wsrep_applier.h Use only MySQL code for TOI error vote 2024-09-01 02:58:27 +02:00
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 branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
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 Merge 10.5 into 10.6 2024-01-02 17:37:58 +02:00
wsrep_high_priority_service.cc MDEV-33133: MDL conflict handling code should skip BF-aborted trxs 2024-09-01 16:19:59 +02: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 10.5 into 10.6 2024-10-03 09:31:39 +03: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 MDEV-34071: Failure during the galera_3nodes_sr.GCF-336 test 2024-05-06 03:16:59 +02:00
wsrep_on.h MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
wsrep_plugin.cc MDEV-33157 WSREP: Fix function pointer mismatch 2024-01-03 08:52:50 +02:00
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' 2024-09-01 06:51:25 +02: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-09-01 06:51:25 +02: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 10.5 into 10.6 2024-10-03 09:31:39 +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 MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_thd.cc Merge 10.5 into 10.6 2024-01-03 14:24:47 +02:00
wsrep_thd.h Merge 10.5 into 10.6 2024-01-03 14:24:47 +02:00
wsrep_trans_observer.h Merge 10.4 into 10.5 2023-12-21 11:30:32 +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 Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
xa.h Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00