mariadb/sql
Igor Babaev fe89df4268 MDEV-31162 Crash for query using ROWNUM over multi-table view with ORDER BY
This bug could cause a crash of the server when processing a query with
ROWNUM() if it used in its FROM list a reference to a mergeable view
defined as SELECT over more than one table that contained ORDER BY clause.
When a mergeable view with ORDER BY clause and without LIMIT clause is used
in the FROM list of a query that does not have ORDER BY clause the ORDER BY
clause of the view is moved to the query. The code that performed this
transformation forgot to delete the moved ORDER BY list from the view.
If a query contains ROWNUM() and uses a mergeable multi-table view with
ORDER BY then according to the current code of TABLE_LIST::init_derived()
the view has to be forcibly materialized. As the query and the view shared
the same items in its ORDER BY lists they could not be properly resolved
either in the query or in the view. This led to a crash of the server.

This patch has returned back the original signature of LEX::can_not_use_merged()
to comply with 10.4 code of the condition that checks whether a megeable
view has to be forcibly materialized.

Approved by Oleksandr Byelkin <sanja@mariadb.com>
2023-05-02 01:05:18 -07:00
..
share Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
add_errmsg
authors.h Add Daniel Black to authors 2020-04-08 14:51:14 +04:00
backup.cc MDEV-26391 BF abortable mariabackup execution 2023-01-17 10:03:05 +02:00
backup.h MDEV-18465 Logging of DDL statements during backup 2021-05-19 22:54:13 +02:00
bounded_queue.h MDEV-21580: Allow packed sort keys in sort buffer 2020-03-10 15:09:17 +05:30
client_settings.h
CMakeLists.txt Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
compat56.cc Merge branch '10.3' into 10.4 2020-08-03 14:44:06 +02:00
compat56.h Fix all warnings given by UBSAN 2021-04-20 12:30:09 +03:00
contributors.h Update contributors 2022-03-23 10:47:27 +11:00
create_options.cc Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
create_options.h
create_tmp_table.h MDEV-17399 JSON_TABLE. 2021-04-21 10:21:47 +04: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 MDEV-18465 Logging of DDL statements during backup 2021-05-19 22:54:13 +02:00
ddl_log.cc MDEV-27753 Incorrect ENGINE type of table after crash for CONNECT table 2022-03-12 13:13:58 +01:00
ddl_log.h Minor cleanups of atomic ddl code 2021-06-19 03:46:00 +03:00
debug.cc Move debug_crash_here to it's own source files 2021-05-19 22:54:13 +02:00
debug.h Move debug_crash_here to it's own source files 2021-05-19 22:54:13 +02:00
debug_sync.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
debug_sync.h Move debug_crash_here to it's own source files 2021-05-19 22:54:13 +02:00
derived_handler.cc Correct DBUG_ENTER for Pushdown_derived::execute 2022-12-12 11:24:07 +11:00
derived_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
derror.cc Merge branch '10.4' into 10.5 2020-08-04 17:24:15 +02:00
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 Merge branch '10.3' into 10.4 2020-08-03 14:44:06 +02:00
event_data_objects.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
event_data_objects.h Merge 10.4 into 10.5 2021-04-22 08:25:40 +03:00
event_db_repository.cc Merge 10.5 into 10.6 2022-04-21 17:46:40 +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 Removed Item::is_fixed() and Item::has_subquery() 2021-05-19 22:27:28 +02:00
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 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 perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
field.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
field.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
field_comp.cc MDEV-21348 - column compression memory leak 2020-04-02 00:57:00 +04:00
field_comp.h
field_conv.cc Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
filesort.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
filesort.h MDEV-24089 support oracle syntax: rownum 2021-05-19 22:54:11 +02:00
filesort_utils.cc Merge 10.4 into 10.5 2020-07-15 14:51:22 +03:00
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 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 MDEV-21702 Add a data type for privileges 2020-02-11 08:10:26 +04:00
grant.h MDEV-21702 Add a data type for privileges 2020-02-11 08:10:26 +04:00
group_by_handler.cc cleanup: Refactor select_limit in select lex 2021-04-21 14:08:58 +03:00
group_by_handler.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
gstream.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
gstream.h
ha_partition.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
ha_partition.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
ha_sequence.cc Merge 10.4 into 10.5 2022-06-02 16:51:13 +03:00
ha_sequence.h Added support for more functions when using partitioned S3 tables 2020-04-19 17:33:51 +03:00
handle_connections_win.cc Fix clang-cl warning 2021-05-09 23:51:18 +02:00
handle_connections_win.h MDEV-23279 main.named_pipe test timeouts if called twice in a row 2020-08-10 17:33:48 +00:00
handler.cc Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
handler.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02: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 2023-02-10 13:03:01 +02:00
hostname.h
init.cc
init.h
innodb_priv.h
item.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
item.h Merge 10.5 into 10.6 2023-04-27 09:48:27 +03:00
item_buff.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_cmpfunc.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
item_cmpfunc.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_create.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_create.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
item_func.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_func.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_geofunc.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
item_geofunc.h Added override to all releveant methods in Item (and a few other classes) 2021-05-19 22:27:53 +02:00
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 Split item->flags into base_flags and with_flags 2021-05-19 22:27:28 +02:00
item_row.h Added override to all releveant methods in Item (and a few other classes) 2021-05-19 22:27:53 +02:00
item_strfunc.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
item_strfunc.h Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
item_subselect.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +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-20017 Implement TO_CHAR() Oracle compatible function 2021-05-19 22:54:12 +02:00
item_vers.cc Merge 10.5 into 10.6 2021-10-13 13:28:12 +03:00
item_vers.h Avoid creating the .frm file twice in some cases 2021-05-19 22:54:12 +02:00
item_windowfunc.cc Merge branch '10.5 into 10.6 2022-02-10 21:07:03 +01:00
item_windowfunc.h Added override to all releveant methods in Item (and a few other classes) 2021-05-19 22:27:53 +02:00
item_xmlfunc.cc Change CHARSET_INFO character set and collaction names to LEX_CSTRING 2021-05-19 22:54:07 +02:00
item_xmlfunc.h Added override to all releveant methods in Item (and a few other classes) 2021-05-19 22:27:53 +02:00
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 cleanup: const 2020-03-31 17:42:34 +02:00
keycaches.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
keycaches.h Merge 10.2 into 10.3 2019-10-18 09:05:27 +03:00
lex.h Merge 10.5 into 10.6 2021-07-02 17:00:05 +03:00
lex_string.h Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
lex_symbol.h
lock.cc Merge 10.5 into 10.6 2022-09-05 14:05:30 +03:00
lock.h Handle errors from external_unlock & mysql_unlock_tables 2020-04-19 17:33:51 +03:00
log.cc Merge 10.5 into 10.6 2023-04-27 09:48:27 +03:00
log.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
log_event.cc MDEV-30430: Enabling system versioning on tables without primary key breaks replication 2023-04-24 15:09:40 -06:00
log_event.h Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
log_event_client.cc Merge 10.5 into 10.6 2023-03-22 15:54:45 +02:00
log_event_old.cc Change replication to use uchar for all buffers instead of char 2021-05-19 22:54:12 +02:00
log_event_old.h Change replication to use uchar for all buffers instead of char 2021-05-19 22:54:12 +02:00
log_event_server.cc Merge 10.5 into 10.6 2023-04-27 09:48:27 +03:00
log_slow.h
main.cc Windows - Fix CMAKE_INTERPROCEDURAL_OPTIMIZATION build with MSVC 2021-05-09 23:51:18 +02:00
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 MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02: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 Improve error reporting in Aria 2022-06-07 20:43:11 +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 MDEV-25778 Overrun buffer in to_string_native() 2021-06-07 18:15:39 +03:00
my_decimal.h Added typedef decimal_digits_t (uint16) for number of digits in most 2021-05-19 22:27:27 +02:00
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 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 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 Merge 10.5 into 10.6 2023-04-27 09:48:27 +03:00
mysqld.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +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 Remove not used IPC_COND_USED_INDEX 2021-05-19 22:54:14 +02:00
opt_range.cc Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
opt_range.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
opt_range_mrr.cc Merge 10.3 into 10.4 2020-05-30 11:04:27 +03:00
opt_split.cc Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
opt_subselect.cc Merge 10.5 into 10.6 2023-02-28 16:05:21 +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 Merge 10.5 into 10.6 2023-02-10 13:03:01 +02: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 Fixes for previous not-complete-push 2020-03-09 14:53:35 +02:00
parse_file.cc Merge branch '10.5' into 10.6 2022-10-02 22:14:21 +02:00
parse_file.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
partition_element.h 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 Don't reset StringBuffers in loops when not needed 2021-05-19 22:54:11 +02:00
procedure.h Don't reset StringBuffers in loops when not needed 2021-05-19 22:54:11 +02:00
protocol.cc Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
protocol.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
proxy_protocol.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
proxy_protocol.h
records.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
records.h Merge 10.5 into 10.6 2020-08-12 14:39:53 +03:00
repl_failsafe.cc Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
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 Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
rpl_filter.h
rpl_gtid.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_gtid.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_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-04-27 09:48:27 +03:00
rpl_parallel.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03: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 MDEV-20220: Merge 5.7 P_S replication table 'replication_applier_status_by_worker 2021-04-08 17:19:51 +05:30
rpl_reporting.h rpl_reporting: sprintf -> snprintf 2023-03-24 12:04:16 +11:00
rpl_rli.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
rpl_rli.h MDEV-16437: merge 5.7 P_S replication instrumentation and tables 2021-04-16 09:02:00 +05:30
rpl_tblmap.cc cleanup: PSI key is *always* the first argument 2020-03-10 19:24:23 +01:00
rpl_tblmap.h
rpl_utility.cc Change replication to use uchar for all buffers instead of char 2021-05-19 22:54:12 +02:00
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 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 Merge 10.4 into 10.5 2021-04-27 09:10:47 +03:00
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-24623 Replicate bulk insert as table-level exclusive key 2023-01-24 11:54:25 +02:00
session_tracker.cc Add TL_FIRST_WRITE in SQL layer for determining R/W 2021-04-08 16:51:36 +10: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-03-28 15:25:52 +03:00
slave.h Merge branch '10.3' into 10.4 2023-01-28 18:22:55 +01:00
sp.cc Merge 10.5 into 10.6 2022-09-20 16:53:20 +03: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 10.5 into 10.6 2023-01-23 13:15:41 +02:00
sp_head.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sp_pcontext.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
sp_pcontext.h Added override to all releveant methods in Item (and a few other classes) 2021-05-19 22:27:53 +02:00
sp_rcontext.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
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 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_acl.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_acl_getsort.ic MDEV-24312 master_host has 60 character limit, increase to 255 bytes 2021-04-20 16:36:56 +02:00
sql_admin.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
sql_admin.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_alloc.h Optimize Sql_alloc 2021-05-19 22:27:27 +02:00
sql_alter.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
sql_alter.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_analyse.cc Merge 10.5 into 10.6 2022-10-06 09:22:39 +03:00
sql_analyse.h Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
sql_analyze_stmt.cc Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
sql_analyze_stmt.h MDEV-30972: ANALYZE FORMAT=JSON: some time is unaccounted-for in BNL-H join 2023-04-04 12:18:37 +03:00
sql_array.h Fixed wrong initializations of Dynamic_array 2021-03-20 21:17:32 +02: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 Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_base.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02: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 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 MDEV-9077 - sys schema preparation 2021-03-18 08:02:48 +01: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 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-02-28 16:05:21 +02:00
sql_class.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +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 MDEV-26325 Shutdown hangs whenever named pipes were used for connections. 2021-08-12 18:32:01 +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 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 MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
sql_db.h MDEV-24408 Crash-safe DROP DATABASE 2021-05-19 22:54:13 +02:00
sql_debug.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_delete.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_delete.h MDEV-10014 Add RETURNING to INSERT 2019-10-14 10:29:31 +02:00
sql_derived.cc Merge 10.5 into 10.6 2023-04-25 13:10:33 +03: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 10.5 to 10.6 2021-07-16 22:12:09 +02:00
sql_error.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_explain.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_explain.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +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 MDEV-16708: Unsupported commands for prepared statements 2021-06-17 19:30:24 +02: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 10.5 into 10.6 2023-04-11 16:15:19 +03: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 ANALYZE FORMAT=JSON: Backport block-nl-join.r_unpack_time_ms from 11.0 +fix MDEV-30830. 2023-04-04 12:18:29 +03:00
sql_join_cache.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_lex.cc MDEV-31162 Crash for query using ROWNUM over multi-table view with ORDER BY 2023-05-02 01:05:18 -07:00
sql_lex.h MDEV-31162 Crash for query using ROWNUM over multi-table view with ORDER BY 2023-05-02 01:05:18 -07: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 2022-01-20 07:39:11 +02: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 MDEV-16708: Unsupported commands for prepared statements 2021-06-17 19:30:24 +02: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 MDEV-23154 Add a data type my_repertoire_t 2020-07-13 19:50:07 +04:00
sql_manager.cc Merge branch '10.4' into 10.5 2022-05-09 22:04:06 +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 Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
sql_parse.h MDEV-16708: Unsupported commands for prepared statements 2021-06-17 19:30:24 +02:00
sql_partition.cc Merge 10.5 into 10.6 2022-10-12 12:14:13 +03:00
sql_partition.h MDEV-18465 Logging of DDL statements during backup 2021-05-19 22:54:13 +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-01-31 09:31:42 +01: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-24623 Replicate bulk insert as table-level exclusive key 2023-01-24 11:54:25 +02:00
sql_prepare.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_prepare.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_priv.h MDEV-30812: Improve output cardinality estimates for hash join 2023-04-28 16:24:08 +03:00
sql_profile.cc MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
sql_profile.h MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
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 Added IF EXISTS to RENAME TABLE and ALTER TABLE 2020-03-24 20:47:41 +02:00
sql_repl.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03: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-19632 Replication aborts with ER_SLAVE_CONVERSION_FAILED upon CREATE ... SELECT in ORACLE mode 2020-08-01 07:43:50 +04:00
sql_schema.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sql_select.cc MDEV-31143 Crash for query using ROWNUM() over view with ORDER BY 2023-04-30 11:53:21 -07:00
sql_select.h ANALYZE FORMAT=JSON: Backport block-nl-join.r_unpack_time_ms from 11.0 +fix MDEV-30830. 2023-04-04 12:18:29 +03:00
sql_sequence.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
sql_sequence.h Fix all warnings given by UBSAN 2021-04-20 12:30:09 +03:00
sql_servers.cc MDEV-22146 - Server crashes in mysql_ha_flush_tables upon ALTER SERVER 2020-04-04 15:52:31 +04:00
sql_servers.h
sql_show.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_show.h remove find_thread_with_thd_data_lock_callback 2021-02-12 18:17:07 +01:00
sql_signal.cc Removed Item::is_fixed() and Item::has_subquery() 2021-05-19 22:27:28 +02:00
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 Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_statistics.h Merge branch '10.3' into 10.4 2021-02-23 09:25:57 +01:00
sql_string.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_string.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_table.cc Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
sql_table.h Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01: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 Merge 10.3 into 10.4 2020-07-31 18:09:08 +03:00
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 Merge 10.5 into 10.6 2021-09-17 20:07:38 +03:00
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-04-11 16:15:19 +03:00
sql_tvc.h MDEV-14347 CREATE PROCEDURE returns no error when using an unknown variable 2020-06-10 18:09:35 +04:00
sql_type.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_type.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_type_fixedbin.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +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 Reduce usage of strlen() 2021-05-19 22:27:48 +02:00
sql_type_geom.h Merge 10.5 into 10.6 2022-11-08 17:37:22 +02:00
sql_type_int.h Fix all warnings given by UBSAN 2021-05-19 22:54:14 +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 MDEV-21581 Helper functions and methods for CHARSET_INFO 2020-01-28 12:29:23 +04:00
sql_type_string.h MDEV-20844 RBR from binary(16) to inet6 fails with error 171: The event was corrupt, leading to illegal data being read 2019-10-18 13:15:55 +04:00
sql_udf.cc Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
sql_udf.h Merge 10.3 into 10.4 2020-10-22 13:27:18 +03:00
sql_union.cc Merge 10.5 into 10.6 2023-02-28 16:05:21 +02:00
sql_union.h
sql_update.cc Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
sql_update.h
sql_view.cc MDEV-31162 Crash for query using ROWNUM over multi-table view with ORDER BY 2023-05-02 01:05:18 -07:00
sql_view.h Merge 10.5 into 10.6 2022-10-25 14:25:42 +03:00
sql_window.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sql_window.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_yacc.yy Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
strfunc.cc Merge branch '10.5' into 10.6 2022-08-10 13:06:08 +02:00
strfunc.h
structs.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
sys_vars.cc MDEV-30812: Improve output cardinality estimates for hash join 2023-04-28 16:24:08 +03:00
sys_vars.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
sys_vars_shared.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
table.cc MDEV-31162 Crash for query using ROWNUM over multi-table view with ORDER BY 2023-05-02 01:05:18 -07:00
table.h Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
table_cache.cc MDEV-28836: Memory alignment cleanup 2022-06-21 16:59:49 +03:00
table_cache.h Yet less TDC hash lookups 2020-04-03 13:01:21 +04:00
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 perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
thr_malloc.h perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
thread_cache.h Move all thread cache specific code to a new class 2020-05-06 13:50:35 +04:00
thread_pool_info.cc MDEV-26440 Missing connection id value in I_S.thread_pool_queues 2021-08-19 21:16:22 +02:00
threadpool.h Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
threadpool_common.cc MDEV-27943 Reduce overhead of attaching THD to OS thread, in threadpool 2022-10-11 00:08:54 +02:00
threadpool_generic.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
threadpool_generic.h Merge branch '10.5' into 10.6 2020-07-04 11:53:26 +02:00
threadpool_win.cc MDEV-24341 Innodb - do not block in foreground thread in log_write_up_to( 2021-02-14 18:30:39 +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 MDEV-22990 Threadpool : Optimize network/named pipe IO for Windows 2020-06-26 14:44:36 +02:00
transaction.cc Merge 10.4 into 10.5 2021-07-02 13:02:26 +03:00
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 MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
udf_example.def
uniques.cc Merge 10.4 into 10.5 2020-06-14 10:13:53 +03:00
uniques.h Merge 10.4 into 10.5 2020-06-14 10:13:53 +03:00
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 Merge 10.5 into 10.6 2020-08-04 07:55:16 +03:00
winservice.h
wsrep_applier.cc Change replication to use uchar for all buffers instead of char 2021-05-19 22:54:12 +02:00
wsrep_applier.h
wsrep_binlog.cc Merge 10.4 into 10.5 2022-09-05 13:28:56 +03:00
wsrep_binlog.h MDEV-22021: Galera database could get inconsistent with rollback to savepoint 2020-03-31 09:59:37 +03:00
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 Update wsrep-lib 2020-11-11 07:37:05 +02:00
wsrep_client_state.h
wsrep_condition_variable.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
wsrep_dummy.cc MDEV-24623 Replicate bulk insert as table-level exclusive key 2023-01-24 11:54:25 +02:00
wsrep_high_priority_service.cc Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
wsrep_high_priority_service.h Merge 10.4 into 10.5 2019-12-17 14:46:57 +02:00
wsrep_mutex.h WSREP: Fix GCC 12.0.1 -Wuninitialized 2022-02-23 07:18:00 +02:00
wsrep_mysqld.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
wsrep_mysqld.h MDEV-26391 BF abortable mariabackup execution 2023-01-17 10:03:05 +02:00
wsrep_mysqld_c.h
wsrep_notify.cc Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-19 10:37:51 +01: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 Reduce compilation dependencies on wsrep_mysqld.h 2022-08-31 11:05:23 +03:00
wsrep_schema.cc Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
wsrep_schema.h
wsrep_server_service.cc Merge 10.5 into 10.6 2022-09-26 14:34:43 +03:00
wsrep_server_service.h Wsrep position not updated in InnoDB after certification failures (#1432) 2020-01-14 07:33:02 +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 Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01: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-17099 Preliminary changes for Galera XA support (#1404) 2019-10-30 10:45:22 +02:00
wsrep_thd.cc Merge 10.5 into 10.6 2023-01-17 20:02:29 +02:00
wsrep_thd.h Merge branch 10.4 into 10.5 2023-01-14 08:25:57 +02:00
wsrep_trans_observer.h Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +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 Merge 10.3 into 10.4 2022-04-21 11:33:59 +03:00
wsrep_var.cc Merge 10.5 into 10.6 2022-12-05 18:04:23 +02:00
wsrep_var.h Merge 10.5 into 10.6 2021-04-08 10:11:36 +03:00
wsrep_xid.cc Do not compare uninitialized data 2020-03-28 21:20:29 +02:00
wsrep_xid.h Galera GTID support 2020-01-29 15:06:06 +02:00
xa.cc Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
xa.h MDEV-16708: Unsupported commands for prepared statements 2021-06-17 19:30:24 +02:00