mariadb/sql
Yuchen Pei 2c3e07df47
MDEV-34447: Memory leakage is detected on running the test main.ps against the server 11.1
The memory leak happened on second execution of a prepared statement
that runs UPDATE statement with correlated subquery in right hand side of
the SET clause. In this case, invocation of the method
  table->stat_records()
could return the zero value that results in going into the 'if' branch
that handles impossible where condition. The issue is that this condition
branch missed saving of leaf tables that has to be performed as first
condition optimization activity. Later the PS statement memory root
is marked as read only on finishing first time execution of the prepared
statement. Next time the same statement is executed it hits the assertion
on attempt to allocate a memory on the PS memory root marked as read only.
This memory allocation takes place by the sequence of the following
invocations:
 Prepared_statement::execute
  mysql_execute_command
   Sql_cmd_dml::execute
    Sql_cmd_update::execute_inner
     Sql_cmd_update::update_single_table
      st_select_lex::save_leaf_tables
       List<TABLE_LIST>::push_back

To fix the issue, add the flag SELECT_LEX::leaf_tables_saved to control
whether the method SELECT_LEX::save_leaf_tables() has to be called or
it has been already invoked and no more invocation required.

Similar issue could take place on running the DELETE statement with
the LIMIT clause in PS/SP mode. The reason of memory leak is the same as for
UPDATE case and be fixed in the same way.
2024-09-06 11:41:58 +10: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.4' into 10.5 2023-11-08 12:59:00 +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 Fix all warnings given by UBSAN 2021-04-20 12:30:09 +03:00
contributors.h Update sponsors 2024-08-12 09:32:30 +01:00
create_options.cc Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
create_options.h
custom_conf.h
datadict.cc MDEV-24841 Build error with MSAN use-of-uninitialized-value in comp_err 2022-03-14 09:28:55 +02:00
datadict.h
debug_sync.cc MDEV-33478: Tests massively fail with clang-18 -fsanitize=memory 2024-03-18 16:01:29 +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 MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
event_data_objects.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
event_db_repository.cc Merge 10.4 into 10.5 2022-04-21 15:33:50 +03: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 branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
event_queue.h
event_scheduler.cc Merge 10.4 into 10.5 2021-06-21 14:22:22 +03:00
event_scheduler.h
events.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
events.h
field.cc MDEV-34295 CAST(char_col AS DOUBLE) prints redundant spaces in a warning 2024-06-04 15:34:14 +04:00
field.h MDEV-34318 mariadb-dump SQL syntax error with MAX_STATEMENT_TIME against Percona MySQL server 2024-07-17 21:25:40 +02:00
field_comp.cc
field_comp.h
field_conv.cc Merge 10.4 into 10.5 2023-08-15 11:10:27 +03:00
filesort.cc MDEV-31743 Server crash in store_length, assertion failure in Type_handler_string_result::sort_length 2023-08-03 18:03:31 +07:00
filesort.h MDEV-32212 DELETE with ORDER BY and semijoin optimization causing crash 2023-12-01 09:29:36 +12: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 followup: rename generated files to have distinct names 2021-05-27 00:40:23 +02:00
gen_win_tzname_data.ps1 Update timezone data on Windows 2021-04-22 15:51:55 +02:00
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_partition.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
ha_partition.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
ha_sequence.cc Merge 10.4 into 10.5 2023-12-18 08:59:07 +02:00
ha_sequence.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
handle_connections_win.cc Merge 10.4 into 10.5 2020-10-30 11:15:30 +02:00
handle_connections_win.h
handler.cc MDEV-34421 Check the SQL command when resolving storage engine 2024-07-16 16:33:05 +08:00
handler.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
hash_filo.cc
hash_filo.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
hostname.cc Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01:00
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-34634 Types mismatch when cloning items causes debug assertion 2024-07-23 20:11:28 +07:00
item.h MDEV-34833 Assertion failure in Item_float::do_build_clone (Item_static_float_func) 2024-08-29 09:32:29 +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-34683 Types mismatch when cloning items causes debug assertion 2024-08-03 16:08:29 +07:00
item_cmpfunc.h MDEV-34785: Assertion failure in Item_func_or_sum::do_build_clone (Item_func_not_all) 2024-08-21 16:21:10 +02:00
item_create.cc MDEV-32583 UUID() should be treated as stochastic for the purposes of forcing query materialization 2024-06-22 13:26:49 +11:00
item_create.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
item_func.cc MDEV-33010 Crash when pushing condition with CHARSET()/COERCIBILITY() into derived table 2024-07-16 16:20:17 +07:00
item_func.h MDEV-33010 Crash when pushing condition with CHARSET()/COERCIBILITY() into derived table 2024-07-16 16:20:17 +07:00
item_geofunc.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
item_geofunc.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_jsonfunc.cc MDEV-34143: Server crashes when executing JSON_EXTRACT after setting 2024-06-06 11:41:01 +05:30
item_jsonfunc.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_row.cc MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_row.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_strfunc.cc MDEV-33010 Crash when pushing condition with CHARSET()/COERCIBILITY() into derived table 2024-07-16 16:20:17 +07:00
item_strfunc.h MDEV-33010 Crash when pushing condition with CHARSET()/COERCIBILITY() into derived table 2024-07-16 16:20:17 +07:00
item_subselect.cc MDEV-30408 Reset explicit_limit in exists2in 2024-07-17 08:54:40 +08:00
item_subselect.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_sum.cc MDEV-29307 Wrong result when joining two derived tables over the same view 2024-06-04 17:54:01 -07:00
item_sum.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_timefunc.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
item_timefunc.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_vers.cc Merge 10.3 into 10.4 2021-10-13 12:03:32 +03:00
item_vers.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_windowfunc.cc Merge branch '10.4' into 10.5 2022-02-10 21:04:51 +01:00
item_windowfunc.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_xmlfunc.cc MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
item_xmlfunc.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
key.cc MDEV-34580: Assertion `(key_part->key_part_flag & 4) == 0' failed key_hashnr 2024-07-30 17:49:09 +03:00
key.h
keycaches.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
keycaches.h
lex.h Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01: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.4' into 10.5 2023-11-08 12:59:00 +01:00
lock.h
log.cc Fix server on windows, so it does not write to error log byte-by-byte 2024-08-09 01:15:45 +02:00
log.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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 MDEV-33921: Replication breaks when filtering two-phase XA transactions 2024-07-10 14:37:39 -06:00
log_event_client.cc MDEV-34318 mariadb-dump SQL syntax error with MAX_STATEMENT_TIME against Percona MySQL server 2024-07-17 21:25:40 +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 MDEV-34313: compiler mariadb-binlog WITHOUT_SERVER 2024-06-26 10:21:58 +10:00
log_event_old.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
log_event_server.cc MDEV-33997 : Assertion `((WSREP_PROVIDER_EXISTS_ && this->variables.wsrep_on) && wsrep_emulate_bin_log) || mysql_bin_log.is_open()' failed in int THD::binlog_write_row(TABLE*, bool, const uchar*) 2024-08-29 13:41:23 +02:00
log_slow.h
main.cc
mariadb.h
mdl.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
mdl.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache.cc Merge 10.2 into 10.3 2021-04-21 07:25:48 +03:00
mf_iocache_encr.cc Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
MSG00001.bin
multi_range_read.cc MDEV-31479: Inconsistency between MRR and SQL layer costs can cause poor query plan 2023-06-14 13:56:33 +03:00
multi_range_read.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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 Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
my_json_writer.cc Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01:00
my_json_writer.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +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 Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01:00
mysql_upgrade_service.cc Merge branch 10.4 into 10.5 2021-12-26 12:51:04 +01:00
mysqld.cc MDEV-34825 FreeBSD - upstream riscv64 compatibility patch 2024-09-05 12:14:06 +10:00
mysqld.h MDEV-34494 Add server_uid global variable and add it to error log at startup 2024-07-02 11:26:13 +03:00
mysqld_suffix.h
net_serv.cc Merge from 10.4 to 10.5 2024-04-15 17:46:49 +02:00
nt_servc.cc
nt_servc.h
opt_index_cond_pushdown.cc de-virtualize redundantly virtual Item method 2020-09-10 13:32:27 +02:00
opt_range.cc MDEV-34305 Redundant truncation errors/warnings with optimizer_trace enabled 2024-07-08 18:01:01 +04:00
opt_range.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
opt_range_mrr.cc
opt_split.cc MDEV-23878 Wrong result with semi-join and splittable derived table 2024-05-07 12:21:35 +02:00
opt_subselect.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
opt_subselect.h Merge 10.4 into 10.5 2022-06-09 12:22:55 +03:00
opt_sum.cc MDEV-30240 Wrong result upon aggregate function with SQL_BUFFER_RESULT 2023-01-03 19:44:19 +02:00
opt_table_elimination.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
opt_trace.cc MDEV-29298 INSERT ... SELECT Does not produce an optimizer trace 2024-01-13 11:44:55 +07:00
opt_trace.h
opt_trace_context.h
parse_file.cc Merge branch '10.4' into 10.5 2022-10-02 14:38:13 +02:00
parse_file.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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.4 into 10.5 2022-12-13 14:39:18 +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.4 into 10.5 2022-10-25 11:26:37 +03:00
procedure.cc
procedure.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
protocol.cc Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
protocol.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
proxy_protocol.cc
proxy_protocol.h
records.cc Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
records.h Merge 10.4 into 10.5 2020-08-10 21:38:55 +03:00
repl_failsafe.cc MDEV-34397: "delete si" rather than "my_free(si)" in THD::register_slave() 2024-06-18 07:20:41 -06: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 MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
rpl_constants.h
rpl_filter.cc MDEV-33921: Replication breaks when filtering two-phase XA transactions 2024-07-10 14:37:39 -06: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 MDEV-34170 : table gtid_slave_pos entries never been deleted with wsrep_gtid_mode = 0 2024-06-06 19:19:34 +02:00
rpl_gtid.h Merge commit '10.4' into 10.5 2023-07-20 11:54: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-23857: replication master password length 2024-06-18 07:21:18 -06:00
rpl_mi.h MDEV-26272: The macro MASTER_INFO_VAR invokes undefined behaviour 2023-10-30 11:22:30 -06:00
rpl_parallel.cc MDEV-34696: do_gco_wait() completes too early on InnoDB dict stats updates 2024-08-26 14:39:24 +02:00
rpl_parallel.h Merge 10.4 into 10.5 2023-12-18 08:59:07 +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_rli.cc MDEV-34696: do_gco_wait() completes too early on InnoDB dict stats updates 2024-08-26 14:39:24 +02:00
rpl_rli.h cleanup: use THD_STAGE_INFO, not thd_proc_info 2024-05-05 21:37:07 +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
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 Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01:00
semisync_master.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
semisync_master_ack_receiver.cc Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
semisync_master_ack_receiver.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
semisync_slave.cc MDEV-29369: rpl.rpl_semi_sync_shutdown_await_ack fails regularly with Result content mismatch 2024-02-12 05:48:18 -07:00
semisync_slave.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
service_wsrep.cc Merge branch 10.4 into 10.5 2024-05-06 13:55:42 +02:00
session_tracker.cc Merge branch '10.4' into 10.5 2023-07-26 16:02:57 +02:00
session_tracker.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
set_var.cc MDEV-27304 SHOW ... result columns are right-aligned 2021-12-27 13:28:25 +01:00
set_var.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
signal_handler.cc MDEV-32363 Shut down Galera networking and logging on fatal signal 2024-09-01 02:48:19 +02:00
slave.cc MDEV-32892: IO Thread Reports False Error When Stopped During Connecting to Primary 2024-07-08 10:39:17 -06:00
slave.h Merge branch '10.3' into 10.4 2023-05-02 10:09:27 +02:00
sp.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sp.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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 branch '10.4' into 10.5 2024-04-16 11:04:14 +02:00
sp_head.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sp_pcontext.cc
sp_pcontext.h Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
sp_rcontext.cc
sp_rcontext.h
spatial.cc Merge 10.4 into 10.5 2022-12-13 14:39:18 +02:00
spatial.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_acl.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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 MDEV-32155 MariaDB Server crashes with ill-formed partitions 2024-07-17 21:25:40 +02:00
sql_admin.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_alloc.h
sql_alter.cc [fixup] galera: Fix an accidental logical inversion in a recent merge 2023-12-12 11:27:20 +11:00
sql_alter.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_analyse.cc MDEV-28345 ASAN: use-after-poison or unknown-crash in my_strtod_int from charset_info_st::strntod or test_if_number 2024-07-17 12:17:27 +04:00
sql_analyse.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_analyze_stmt.cc
sql_analyze_stmt.h Merge branch '10.4' into 10.5 2022-10-26 15:26:06 +02:00
sql_array.h MDEV-34041 Display additional information for materialized subqueries in EXPLAIN/ANALYZE FORMAT=JSON 2024-07-11 17:40:39 +07: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-34718: Trigger doesn't work correctly with bulk update 2024-08-19 12:13:43 +07:00
sql_base.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_basic_types.h
sql_binlog.cc MDEV-27666 User variable not parsed as geometry variable in geometry function 2024-01-16 18:53:23 +04: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 MDEV-33867 main.query_cache_debug fails with heap-use-after-free 2024-04-09 16:23:28 +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-34594 : Assertion `client_state.transaction().active()' failed in 2024-08-12 23:54:30 +02:00
sql_class.h MDEV-34404 Use safe_str in spider udfs to avoid passing NULL str 2024-06-25 13:45:04 +08:00
sql_client.cc
sql_cmd.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_connect.cc Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
sql_connect.h MDEV-26325 Shutdown hangs whenever named pipes were used for connections. 2021-08-12 18:32:01 +02:00
sql_const.h Merge 10.4 into 10.5 2022-11-30 13:10:52 +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.4' into 10.5 2024-01-10 18:01:46 +11:00
sql_cte.h Merge branch '10.4' into 10.5 2024-01-10 18:01:46 +11:00
sql_cursor.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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 Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
sql_db.h
sql_debug.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_delete.cc MDEV-34447: Memory leakage is detected on running the test main.ps against the server 11.1 2024-09-06 11:41:58 +10:00
sql_delete.h
sql_derived.cc MDEV-34506 2nd execution name resolution problem with pushdown into unions 2024-07-30 08:21:58 +11:00
sql_derived.h Merge 10.3 -> 10.4 2021-06-30 18:41:46 +03:00
sql_digest.cc followup: rename generated files to have distinct names 2021-05-27 00:40:23 +02:00
sql_digest.h
sql_digest_stream.h
sql_do.cc
sql_do.h
sql_error.cc MDEV-34718: Trigger doesn't work correctly with bulk update 2024-08-19 12:13:43 +07:00
sql_error.h MDEV-34718: Trigger doesn't work correctly with bulk update 2024-08-19 12:13:43 +07:00
sql_explain.cc MDEV-34041 Display additional information for materialized subqueries in EXPLAIN/ANALYZE FORMAT=JSON 2024-07-11 17:40:39 +07:00
sql_explain.h MDEV-34041 Display additional information for materialized subqueries in EXPLAIN/ANALYZE FORMAT=JSON 2024-07-11 17:40:39 +07: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 Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
sql_handler.h
sql_help.cc Merge commit '10.4' into 10.5 2021-01-06 10:53:00 +01:00
sql_help.h
sql_hset.h
sql_i_s.h A clean-up for "MDEV-19772 Add helper classes for ST_FIELD_INFO" 2022-04-28 12:12:16 +04:00
sql_insert.cc MDEV-34447: Memory leakage is detected on running the test main.ps against the server 11.1 2024-09-06 11:41:58 +10:00
sql_insert.h MDEV-23691 S3 storage engine: delayed slave can drop the table 2020-10-21 03:09:29 +03:00
sql_join_cache.cc Merge branch '10.4' into 10.5 2024-04-16 11:04:14 +02:00
sql_join_cache.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_lex.cc MDEV-34447: Memory leakage is detected on running the test main.ps against the server 11.1 2024-09-06 11:41:58 +10:00
sql_lex.h MDEV-34447: Memory leakage is detected on running the test main.ps against the server 11.1 2024-09-06 11:41:58 +10:00
sql_lifo_buffer.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_limit.h MDEV-28285 Unexpected result when combining DISTINCT, subselect and LIMIT 2023-05-23 09:16:36 +03:00
sql_list.cc
sql_list.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
sql_load.cc MDEV-34269: post-fix code simplification 2024-06-07 18:26:08 +02: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 cleanup: fix and generalize handle_manager thread 2021-01-24 11:35:55 +01:00
sql_mode.cc
sql_mode.h
sql_parse.cc MDEV-34647: small refactoring after main fix 2024-08-30 21:50:33 +02:00
sql_parse.h Merge 10.4 into 10.5 2021-03-05 12:54:43 +02:00
sql_partition.cc Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01:00
sql_partition.h cleanup: put db/table_name into Alter_info 2023-08-01 22:43:16 +02:00
sql_partition_admin.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
sql_partition_admin.h Fix compiler errors 2024-07-03 12:45:30 +02:00
sql_plist.h
sql_plugin.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_plugin.h Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
sql_plugin_compat.h
sql_plugin_services.inl MDEV-33277 In-place upgrade causes invalid AUTO_INCREMENT values 2024-02-08 10:35:45 +02:00
sql_prepare.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_prepare.h MDEV-27595 Backport SQL service, introduced by MDEV-19275. 2023-11-05 23:35:31 +04:00
sql_priv.h MDEV-32583 UUID() should be treated as stochastic for the purposes of forcing query materialization 2024-06-22 13:26:49 +11:00
sql_profile.cc Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
sql_profile.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
sql_reload.cc openssl: add a more specific DES support detection 2024-04-30 23:09:02 +10:00
sql_reload.h
sql_rename.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
sql_rename.h
sql_repl.cc Minimize unsafe C functions with safe_strcpy() 2024-05-17 13:33:16 +01:00
sql_repl.h Merge branch 'bb-10.3-release' into bb-10.4-release 2021-02-12 17:44:22 +01: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-34447: Memory leakage is detected on running the test main.ps against the server 11.1 2024-09-06 11:41:58 +10:00
sql_select.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04: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-34864 SHOW INDEX FROM - SEQ_IN_INDEX to ULong 2024-09-04 17:17:32 +10: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 remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
sql_state.c
sql_statistics.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_statistics.h Merge branch '10.3' into 10.4 2021-02-23 09:25:57 +01:00
sql_string.cc MDEV-33772 Bad SEPARATOR value in GROUP_CONCAT on character set conversion 2024-03-27 15:22:58 +04:00
sql_string.h MDEV-34490 get_copy() and build_clone() may return an instance of an ancestor class instead of a copy/clone 2024-07-15 18:25:57 +07:00
sql_table.cc MDEV-34205: ASAN stack buffer overflow in strxnmov() in frm_file_exists 2024-05-23 22:08:27 +02:00
sql_table.h Merge 10.4 into 10.5 2024-02-12 11:38:13 +02:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc MDEV-33161 fixup: CMAKE_CXX_FLAGS=-DEXTRA_DEBUG 2024-06-13 19:42:18 +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 MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_trigger.h Merge branch '10.4' into 10.5 2022-10-02 14:38:13 +02:00
sql_truncate.cc Merge 10.4 into 10.5 2021-09-17 19:57:13 +03:00
sql_truncate.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_tvc.cc Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
sql_tvc.h Merge branch '10.4' into 10.5 2023-09-25 13:06:57 +10:00
sql_type.cc MDEV-34376 Wrong data types when mixing an utf8 *TEXT column and a short binary 2024-08-12 17:13:31 +04:00
sql_type.h MDEV-34376 Wrong data types when mixing an utf8 *TEXT column and a short binary 2024-08-12 17:13:31 +04:00
sql_type_geom.cc MDEV-22775: Merge 10.4 into 10.5 2021-04-08 08:08:53 +03:00
sql_type_geom.h MDEV-27666 User variable not parsed as geometry variable in geometry function 2024-01-16 18:53:23 +04:00
sql_type_int.h Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
sql_type_json.cc MDEV-27018 IF and COALESCE lose "json" property 2022-01-21 19:28:48 +04: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 MDEV-25102 UNIQUE USING HASH error after ALTER ... DISABLE KEYS 2024-05-06 17:16:10 +02:00
sql_union.h
sql_update.cc MDEV-34447: Memory leakage is detected on running the test main.ps against the server 11.1 2024-09-06 11:41:58 +10:00
sql_update.h
sql_view.cc Merge branch '10.4' into 10.5 2024-01-10 18:01:46 +11:00
sql_view.h MDEV-29748 ASAN errors or server crash in File_parser::parse upon concurrent view operations 2022-10-24 14:09:46 +02:00
sql_window.cc MDEV-19052 Range-type window frame supports only numeric datatype 2024-07-25 19:16:37 +10:00
sql_window.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sql_yacc.yy Merge 10.4 into 10.5 2023-12-18 08:59:07 +02:00
strfunc.cc Merge branch '10.4' into 10.5 2022-08-10 12:24:31 +02:00
strfunc.h
structs.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
sys_vars.cc MDEV-34494 Add server_uid global variable and add it to error log at startup 2024-07-02 11:26:13 +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-31173 : Server crashes when setting wsrep_cluster_address after adding invalid value to wsrep_allowlist table 2024-08-29 13:41:23 +02:00
table.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
table_cache.cc MDEV-33161 Function pointer signature mismatch in LF_HASH 2024-06-10 12:35:33 +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 MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
threadpool_common.cc Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
threadpool_generic.cc MDEV-34063 tpool - integer overflow in multiplication. 2024-05-03 22:01:09 +02:00
threadpool_generic.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
threadpool_win.cc
transaction.cc MDEV-33523 Spurious deadlock error when wsrep_on=OFF 2024-06-06 19:19:34 +02:00
transaction.h
tzfile.h
tztime.cc MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tztime.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
udf_example.c Fix various spelling errors still found in code 2021-03-22 18:10:39 +11:00
udf_example.def
uniques.cc
uniques.h
unireg.cc Merge 10.4 into 10.5 2024-02-12 11:38:13 +02:00
unireg.h Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
upgrade_conf_file.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01: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
winservice.c
winservice.h
wsrep_applier.cc Use only MySQL code for TOI error vote 2024-09-01 02:58:27 +02:00
wsrep_applier.h Use only MySQL code for TOI error vote 2024-09-01 02:58:27 +02:00
wsrep_binlog.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +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.4' into 10.5 2023-12-02 01:02:50 +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 MDEV-31905 GTID inconsistency 2023-12-22 00:10:23 +01: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 MDEV-33133: MDL conflict handling code should skip BF-aborted trxs 2024-09-01 16:19:59 +02:00
wsrep_mysqld.h Merge 10.4 into 10.5 2024-01-03 12:07:51 +02: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 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_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 MDEV-32363 Shut down Galera networking and logging on fatal signal 2024-09-01 02:48:19 +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-32363 Shut down Galera networking and logging on fatal signal 2024-09-01 02:48:19 +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 If donor loop receives unknown signal from the SST script it is an 2024-09-01 02:54:05 +02:00
wsrep_sst.h Merge 10.3 into 10.4 2022-06-27 10:14:37 +03:00
wsrep_storage_service.cc MDEV-15532 after-merge fixes from Monty 2020-12-02 16:16:29 +02:00
wsrep_storage_service.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
wsrep_thd.cc Merge 10.4 into 10.5 2024-01-03 12:07:51 +02:00
wsrep_thd.h Merge 10.4 into 10.5 2024-01-03 12:07:51 +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 Merge 10.4 into 10.5 2020-08-26 12:02:07 +03:00
wsrep_utils.h MDEV-29861 : Galera "notify" test cases hang 2023-09-11 23:06:15 +02:00
wsrep_var.cc Merge 10.4 into 10.5 2022-11-30 13:10:52 +02:00
wsrep_var.h Merge 10.4 into 10.5 2021-04-08 07:47:49 +03:00
wsrep_xid.cc
wsrep_xid.h
xa.cc MDEV-33921: Replication breaks when filtering two-phase XA transactions 2024-07-10 14:37:39 -06:00
xa.h MDEV-33921: Replication breaks when filtering two-phase XA transactions 2024-07-10 14:37:39 -06:00