mariadb/sql
Igor Babaev bf6484e7bb MDEV-24910 Crash with SELECT that uses table value constructor as a subselect
This bug caused crashes of the server when processing queries with table
value constructors (TVC) that contained subqueries and were used itself as
subselects. For such TVCs the following transformation is applied at the
prepare stage:
  VALUES (v1), ... (vn) => SELECT * FROM (VALUES (v1), ... (vn)) tvc_x.
This transformation allows to reduce the problem of evaluation of TVCs used
as subselects to the problem of evaluation of regular subselects.
The transformation is implemented in the wrap_tvc(). The code the function
to mimic the behaviour of the parser when processing the result of the
transformation. However this imitation was not free of some flaws. First
the function called the method exclude() that completely destroyed the
select tree structures below the transformed TVC. Second the function
used the procedure mysql_new_select to create st_select_lex nodes for
both wrapping select of the transformation and TVC. This also led to
constructing of invalid select tree structures.
The patch actually re-engineers the code of wrap_tvc().

Approved by Oleksandr Byelkin <sanja@mariadb.com>
2021-02-24 13:51:47 -08:00
..
share Merge branch '10.2' into 10.3 2020-09-28 17:27:42 +05:30
add_errmsg
authors.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
bounded_queue.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
client_settings.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt cleanup: use predefined CMAKE_DL_LIBS 2020-10-23 13:37:26 +02:00
compat56.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
compat56.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
contributors.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
create_options.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
create_options.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
custom_conf.h Update FSF Address 2019-05-11 21:29:06 +03:00
datadict.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
datadict.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
debug_sync.cc Merge 10.2 into 10.3 2020-09-03 09:26:54 +03:00
debug_sync.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
derror.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
derror.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
des_key_file.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
des_key_file.h Update FSF Address 2019-05-11 21:29:06 +03:00
discover.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
discover.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
encryption.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
event_data_objects.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
event_data_objects.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
event_db_repository.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
event_db_repository.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
event_parse_data.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
event_parse_data.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
event_queue.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
event_queue.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
event_scheduler.cc Merge branch '10.2' into 10.3 2020-05-04 16:47:11 +02:00
event_scheduler.h Update FSF Address 2019-05-11 21:29:06 +03:00
events.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
events.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
field.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
field.h MDEV-24387: Wrong number of decimal digits in certain UNION/Subqery 2021-01-13 19:24:05 +05:30
field_comp.cc MDEV-21348 - column compression memory leak 2020-04-02 00:57:00 +04:00
field_comp.h
field_conv.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
filesort.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
filesort.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
filesort_utils.cc Merge 10.2 into 10.3 2020-07-14 22:59:19 +03:00
filesort_utils.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
gcalc_slicescan.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
gcalc_slicescan.h Merge branch '10.1' into 10.2 2020-08-02 11:05:29 +02:00
gcalc_tools.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
gcalc_tools.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
gen_lex_hash.cc gen_lex_hash: Omit deprecated register keywords 2019-07-23 15:23:27 +03:00
gen_lex_token.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
gen_win_tzname_data.ps1 MDEV-22419 update windows timezone data from using newest ICU source 2020-04-30 01:21:44 +02:00
group_by_handler.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
group_by_handler.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
gstream.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
gstream.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ha_partition.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
ha_partition.h MDEV-21842 auto_increment does not increment with compound primary key on partitioned table. 2020-11-23 14:12:30 +04:00
ha_sequence.cc Merge 10.2 into 10.3 2020-05-25 19:41:58 +03:00
ha_sequence.h
handler.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
handler.h Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
hash_filo.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
hash_filo.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hostname.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
hostname.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
init.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
init.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
innodb_priv.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
item.cc Merge branch 'bb-10.3-release' into 10.3 2021-02-22 21:03:41 +01:00
item.h Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
item_buff.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
item_cmpfunc.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
item_cmpfunc.h Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
item_create.cc Merge 10.2 into 10.3 2020-07-31 13:51:28 +03:00
item_create.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
item_func.cc Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
item_func.h MDEV-22268 virtual longlong Item_func_div::int_op(): Assertion `0' failed in Item_func_div::int_op 2020-06-13 09:30:04 +04:00
item_geofunc.cc Merge branch '10.2' into 10.3 2020-09-28 17:27:42 +05:30
item_geofunc.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
item_inetfunc.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
item_inetfunc.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
item_jsonfunc.cc Merge 10.2 into 10.3 2020-10-28 10:01:50 +02:00
item_jsonfunc.h Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
item_row.cc Merge 10.2 into 10.3 2020-03-30 11:12:56 +03:00
item_row.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
item_strfunc.cc Fix GCC 10.2.0 -Og -Wmaybe-uninitialized 2020-08-13 18:21:30 +03:00
item_strfunc.h Merge 10.2 into 10.3 2020-09-22 21:12:48 +03:00
item_subselect.cc Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
item_subselect.h Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
item_sum.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
item_sum.h Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
item_timefunc.cc Merge 10.2 into 10.3 2020-10-28 10:01:50 +02:00
item_timefunc.h Merge 10.2 into 10.3 2020-10-28 10:01:50 +02:00
item_vers.cc MDEV-15412 For any non-existing transaction ID, AS OF provides the current table contents without a warning 2019-03-29 12:51:19 +01:00
item_vers.h Merge commit '6b8802e8dd5467556a024d807a1df23940b00895' into bb-10.3-fix_len_dec 2018-06-19 14:51:50 +02:00
item_windowfunc.cc MDEV-15180: server crashed with NTH_VALUE() 2020-08-06 18:01:00 +05:30
item_windowfunc.h Merge 10.2 into 10.3 2020-07-31 13:51:28 +03:00
item_xmlfunc.cc Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
item_xmlfunc.h Merge branch '10.2' into 10.3 2019-07-26 22:42:35 +02:00
key.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
key.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
keycaches.cc Merge 10.2 into 10.3 2019-10-18 09:05:27 +03:00
keycaches.h Merge 10.2 into 10.3 2019-10-18 09:05:27 +03:00
lex.h Merge branch '10.1' into 10.2 2020-08-02 11:05:29 +02:00
lex_string.h Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
lex_symbol.h Update FSF Address 2019-05-11 21:29:06 +03:00
lock.cc MDEV-24929 Server crash in thr_multi_unlock or in get_schema_tables_result 2021-02-22 22:42:38 +01:00
lock.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
log.cc Merge branch '10.2' into 10.3 2020-11-12 14:10:05 +05:30
log.h Merge branch '10.2' into 10.3 2020-11-12 14:10:05 +05:30
log_event.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
log_event.h MDEV-16372 ER_BASE64_DECODE_ERROR upon replaying binary log via mysqlbinlog --verbose 2020-08-31 18:45:14 +03:00
log_event_old.cc MDEV-16372 ER_BASE64_DECODE_ERROR upon replaying binary log via mysqlbinlog --verbose 2020-08-31 18:45:14 +03:00
log_event_old.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
log_slow.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
main.cc Update FSF Address 2019-05-11 21:29:06 +03:00
mariadb.h
mdl.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
mdl.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mem_root_array.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
message.h Update FSF Address 2019-05-11 21:29:06 +03:00
message.mc
message.rc
mf_iocache.cc imporve clang build 2019-06-25 13:21:36 +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 Fix compile failure on Windows: use explicit type casts 2019-11-16 13:18:24 +03:00
multi_range_read.h MDEV-20611: MRR scan over partitioned InnoDB table produces "Out of memory" error 2019-11-15 23:37:28 +03:00
my_apc.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_apc.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_decimal.cc MDEV-21195 INSERT chooses wrong partition for RANGE partitioning by DECIMAL column 2020-02-02 15:13:29 +03:00
my_decimal.h Merge branch '10.2' into 10.3 2020-10-30 17:23:53 +01:00
my_json_writer.cc Merge branch '10.2' into 10.3 2019-06-14 07:36:47 +02:00
my_json_writer.h Merge branch '10.2' into 10.3 2019-06-14 07:36:47 +02:00
mysql_install_db.cc Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
mysql_upgrade_service.cc Lintian complains on spelling error 2019-12-02 12:41:13 +02:00
mysqld.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
mysqld.h Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
mysqld_suffix.h Update FSF Address 2019-05-11 21:29:06 +03:00
net_serv.cc Merge 10.2 into 10.3 2020-09-03 09:26:54 +03:00
nt_servc.cc Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
nt_servc.h Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
opt_index_cond_pushdown.cc MDEV-21628: Index condition pushdown condition ... not used with BKA 2020-02-19 21:29:49 +03:00
opt_range.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
opt_range.h Merge 10.2 into 10.3 2020-05-29 22:21:19 +03:00
opt_range_mrr.cc Merge 10.2 into 10.3 2020-05-27 17:10:39 +03:00
opt_split.cc MDEV-22740: UBSAN: sql/opt_split.cc:1150:28: runtime error: shift exponent 61 is too large for 32-bit type 'int' (on optimized builds) 2020-12-14 16:51:30 +05:30
opt_subselect.cc MDEV-21265: IN predicate conversion to IN subquery should be allowed for a broader set of datatype comparison 2020-11-30 17:16:43 +05:30
opt_subselect.h Merge 10.2 into 10.3 2019-09-27 15:56:15 +03:00
opt_sum.cc MDEV-23159 Assertion `table_share->tmp_table != NO_TMP_TABLE || m_lock_type != 2'... 2020-10-29 16:22:30 +02:00
opt_table_elimination.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
parse_file.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
parse_file.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
partition_element.h MDEV-18501 Partition pruning doesn't work for historical queries (refactoring) 2019-09-01 14:04:25 +03:00
partition_info.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
partition_info.h MDEV-18501 Partition pruning doesn't work for historical queries (refactoring) 2019-09-01 14:04:25 +03:00
password.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
plistsort.c imporve clang build 2019-06-25 13:21:36 +03:00
procedure.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
procedure.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
protocol.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
protocol.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
proxy_protocol.cc MDEV-19669 - fix matching CIDR address for proxy protocol. 2019-11-27 20:50:06 +01:00
proxy_protocol.h MDEV-15501 : Make proxy_protocol_networks variable read-write. 2018-03-23 20:23:12 +00:00
records.cc Merge 10.2 into 10.3 2020-08-10 18:40:57 +03:00
records.h Merge 10.2 into 10.3 2020-08-10 18:40:57 +03:00
repl_failsafe.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
repl_failsafe.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
replication.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_constants.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
rpl_filter.cc Merge 10.2 into 10.3 2020-09-03 09:26:54 +03:00
rpl_filter.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
rpl_gtid.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
rpl_gtid.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_injector.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
rpl_injector.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_mi.cc Lintian complains on spelling error 2019-12-02 12:41:13 +02:00
rpl_mi.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_parallel.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
rpl_parallel.h
rpl_record.cc Merge remote-tracking branch 'origin/10.2' into 10.3 2019-10-01 09:37:40 +04:00
rpl_record.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_record_old.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_record_old.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
rpl_reporting.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_reporting.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_rli.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
rpl_rli.h Merge 10.2 into 10.3 2020-05-27 17:10:39 +03:00
rpl_tblmap.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
rpl_tblmap.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
rpl_utility.cc Merge 10.2 into 10.3 2019-08-28 10:18:41 +03:00
rpl_utility.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
scheduler.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
scheduler.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
semisync.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
semisync.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
semisync_master.cc Remove \n from DBUG_PRINT statements 2019-10-21 18:41:58 +03:00
semisync_master.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
semisync_master_ack_receiver.cc Revert THD::THD(skip_global_sys_var_lock) argument 2019-05-03 16:46:11 +04:00
semisync_master_ack_receiver.h MDEV-19643 : Fix semisync on Windows 2019-06-21 15:17:06 +02:00
semisync_slave.cc MDEV-16812 Semisync slave io thread segfaults at STOP-SLAVE handling 2018-07-26 10:54:13 +03:00
semisync_slave.h
session_tracker.cc Merge 10.2 into 10.3 2020-10-28 10:01:50 +02:00
session_tracker.h Restore vars_list destructor 2019-05-04 12:43:29 +04:00
set_var.cc MDEV-21201 No records produced in information_schema query, depending on projection 2020-10-23 13:37:26 +02:00
set_var.h Merge 10.2 into 10.3 2020-06-02 10:25:11 +03:00
signal_handler.cc Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
slave.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
slave.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sp.cc MDEV-24524 Assertion `ls->length < 0xFFFFFFFFL && ((ls->length == 0 && !ls->str) || ls->length == strlen(ls->str))' failed in String::append on SELECT from I_S 2021-01-12 10:25:03 +01:00
sp.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sp_cache.cc MDEV-21341: Fix UBSAN failures: Issue Six 2020-01-14 18:15:32 +03:00
sp_cache.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sp_head.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
sp_head.h Merge branch '10.2' into 10.3 2020-01-17 00:46:40 +03:00
sp_pcontext.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sp_pcontext.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sp_rcontext.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sp_rcontext.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
spatial.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
spatial.h Merge 10.2 into 10.3 2020-03-20 18:12:17 +02:00
sql_acl.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_acl.h Revert "[MDEV-7978] add show create user" 2020-09-24 13:58:29 +10:00
sql_admin.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
sql_admin.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_alloc.h Fix many -Wunused-parameter 2018-05-01 16:52:19 +03:00
sql_alter.cc MDEV-16288 ALTER TABLE…ALGORITHM=DEFAULT does not override alter_algorithm 2020-05-04 09:35:38 +05:30
sql_alter.h MDEV-16288 ALTER TABLE…ALGORITHM=DEFAULT does not override alter_algorithm 2020-05-04 09:35:38 +05:30
sql_analyse.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_analyse.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_analyze_stmt.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_analyze_stmt.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
sql_array.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_audit.cc Merge 10.2 into 10.3 2019-07-02 17:46:22 +03:00
sql_audit.h Merge 10.2 into 10.3 2019-12-27 15:14:48 +02:00
sql_base.cc Merge 10.2 into 10.3 (except MDEV-17556) 2021-01-11 09:41:54 +02:00
sql_base.h Merge branch '10.2' into 10.3 2019-06-14 07:36:47 +02:00
sql_basic_types.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
sql_binlog.cc Merge 10.2 into 10.3 2020-05-19 17:05:05 +03:00
sql_binlog.h Update FSF Address 2019-05-11 21:29:06 +03:00
sql_bitmap.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_bootstrap.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_bootstrap.h Update FSF address 2019-05-11 19:25:02 +03:00
sql_builtin.cc.in Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_cache.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_cache.h Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_callback.h Update FSF Address 2019-05-11 21:29:06 +03:00
sql_class.cc Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
sql_class.h Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_client.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_cmd.h Revert "[MDEV-7978] add show create user" 2020-09-24 13:58:29 +10:00
sql_connect.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_connect.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_const.h MDEV-17551 assert or crashed table when using blobs 2019-06-27 19:01:51 +03:00
sql_crypt.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_crypt.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_cte.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_cte.h Merge branch '10.2' into 10.3 2018-09-28 16:37:06 +02:00
sql_cursor.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_cursor.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_db.cc Lintian complains on spelling error 2019-12-02 12:41:13 +02:00
sql_db.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_delete.cc MDEV-23644 Assertion on evaluating foreign referential action for self-reference in system versioned table 2020-12-22 03:33:53 +03:00
sql_delete.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_derived.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_derived.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_digest.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_digest.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_digest_stream.h Update FSF address 2019-05-11 19:25:02 +03:00
sql_do.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_do.h Update FSF Address 2019-05-11 21:29:06 +03:00
sql_error.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_error.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_explain.cc MDEV-17568: LATERAL DERIVED is not clearly visible in EXPLAIN FORMAT=JSON 2020-05-06 23:44:34 +03:00
sql_explain.h MDEV-17568: LATERAL DERIVED is not clearly visible in EXPLAIN FORMAT=JSON 2020-05-06 23:44:34 +03:00
sql_expression_cache.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_expression_cache.h Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
sql_get_diagnostics.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_get_diagnostics.h Update FSF address 2019-05-11 19:25:02 +03:00
sql_handler.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
sql_handler.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_help.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_help.h Update FSF Address 2019-05-11 21:29:06 +03:00
sql_hset.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_insert.cc MDEV-17891 Assertion failure upon attempt to replace into a full table 2021-01-07 14:53:41 +10:00
sql_insert.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_join_cache.cc Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
sql_join_cache.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_lex.cc MDEV-24910 Crash with SELECT that uses table value constructor as a subselect 2021-02-24 13:51:47 -08:00
sql_lex.h MDEV-24910 Crash with SELECT that uses table value constructor as a subselect 2021-02-24 13:51:47 -08:00
sql_lifo_buffer.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_list.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_list.h MDEV-19740: Fix C++11 violations caught by GCC 9.2.1 2019-10-14 16:37:41 +03:00
sql_load.cc Fixed errors found by MSAN 2020-07-02 23:50:56 +03:00
sql_load.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_locale.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_locale.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_manager.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_manager.h cleanup: fix and generalize handle_manager thread 2021-01-24 11:35:55 +01:00
sql_mode.cc Merge 10.2 (up to commit ef00ac4c86) into 10.3 2019-09-04 10:19:58 +04:00
sql_mode.h MDEV-18156 Assertion 0' failed or btr_validate_index(index, 0, false)' in row_upd_sec_index_entry or error code 126: Index is corrupted upon DELETE with PAD_CHAR_TO_FULL_LENGTH 2019-09-03 05:34:53 +04:00
sql_parse.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_parse.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_partition.cc MDEV-23248 Server crashes in mi_extra / ha_partition::loop_extra_alter upon REORGANIZE 2020-10-16 19:48:36 +03:00
sql_partition.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_partition_admin.cc Merge remote-tracking branch 'origin/10.2' into 10.3 2019-10-01 09:37:40 +04:00
sql_partition_admin.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
sql_plist.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_plugin.cc Merge 10.2 into 10.3 2020-07-31 13:51:28 +03:00
sql_plugin.h Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_plugin_compat.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_plugin_services.ic galera fixes related to THD::LOCK_thd_kill 2021-02-02 10:02:17 +01:00
sql_prepare.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_prepare.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_priv.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_profile.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_profile.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_reload.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_reload.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
sql_rename.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_rename.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
sql_repl.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_repl.h MDEV-8134: The relay-log is not flushed after the slave-relay-log.999999 showed 2021-01-21 13:00:02 +05:30
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 MDEV-19632 Replication aborts with ER_SLAVE_CONVERSION_FAILED upon CREATE ... SELECT in ORACLE mode 2020-08-01 07:43:50 +04:00
sql_select.cc Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
sql_select.h MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
sql_sequence.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
sql_sequence.h
sql_servers.cc Lintian complains on spelling error 2019-12-02 12:41:13 +02:00
sql_servers.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_show.cc MDEV-24929 Server crash in thr_multi_unlock or in get_schema_tables_result 2021-02-22 22:42:38 +01:00
sql_show.h MDEV-24593 Signal 11 when group by primary key of table joined to information_schema.columns 2021-01-22 00:04:31 +01:00
sql_signal.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_signal.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_sort.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_state.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_statistics.cc Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
sql_statistics.h Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
sql_string.cc Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
sql_string.h MDEV-21265: IN predicate conversion to IN subquery should be allowed for a broader set of datatype comparison 2020-11-30 17:16:43 +05:30
sql_table.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_table.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_tablespace.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_tablespace.h Update FSF Address 2019-05-11 21:29:06 +03:00
sql_test.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_test.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
sql_time.cc Merge 10.2 into 10.3 2020-08-13 18:18:25 +03:00
sql_time.h Merge 10.2 into 10.3 2020-07-31 13:51:28 +03:00
sql_trigger.cc Merge 10.2 into 10.3 2020-06-06 18:50:25 +03:00
sql_trigger.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_truncate.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_truncate.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
sql_tvc.cc MDEV-24910 Crash with SELECT that uses table value constructor as a subselect 2021-02-24 13:51:47 -08:00
sql_tvc.h MDEV-17894 Assertion `(thd->lex)->current_select' failed in MYSQLparse(), 2019-05-08 09:45:24 -07:00
sql_type.cc Fixing compile failure on kvm full-text 2020-12-03 03:28:52 +05:30
sql_type.h Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_type_int.h Merge 10.2 into 10.3 2020-03-20 18:12:17 +02:00
sql_type_real.h A cleanup for MDEV-19468: Adding a missing #include <cmath> 2019-05-15 16:33:13 +04:00
sql_udf.cc Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
sql_udf.h Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
sql_union.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_union.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_update.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_update.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_view.cc Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
sql_view.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
sql_window.cc Merge 10.2 into 10.3 2020-07-14 22:59:19 +03:00
sql_window.h Cleanup unused READ_RECORD::forms 2019-05-28 14:54:38 +04:00
sql_yacc.yy Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
sql_yacc_ora.yy sync changes in oracle parser 2021-02-01 13:50:10 +01:00
strfunc.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
strfunc.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
structs.h Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
sys_vars.cc Merge branch 'bb-10.2-release' into bb-10.3-release 2021-02-18 22:09:53 +01:00
sys_vars.ic Merge branch '10.2' into 10.3 2020-10-30 17:23:53 +01:00
sys_vars_shared.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
table.cc Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
table.h Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
table_cache.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
table_cache.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
temporary_tables.cc Merge 10.2 into 10.3 2020-05-25 19:41:58 +03:00
thr_malloc.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
thr_malloc.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
threadpool.h MDEV-21101 unexpected wait_timeout with pool-of-threads 2020-07-30 10:17:45 +02:00
threadpool_common.cc MDEV-24084 Fix race between disconnect and KILL CONNECTION 2020-11-24 08:45:37 +01:00
threadpool_generic.cc Merge 10.2 into 10.3 2020-08-13 18:18:25 +03:00
threadpool_win.cc Merge 10.2 into 10.3 2019-09-10 09:25:20 +03:00
transaction.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
transaction.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
tzfile.h Update FSF Address 2019-05-11 21:29:06 +03:00
tztime.cc Merge 10.2 into 10.3 2020-08-20 09:12:16 +03:00
tztime.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
udf_example.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
udf_example.def
uniques.cc Merge 10.2 into 10.3 2020-06-13 15:11:43 +03:00
uniques.h Fix wrong merge of commit d218d1aa49 2020-06-12 10:55:53 +03:00
unireg.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
unireg.h Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
upgrade_conf_file.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
vers_string.h remove dead code 2019-03-22 22:33:27 +04:00
vers_utils.h dead code - related to vtmd 2018-04-10 13:12:36 +02:00
win_tzname_data.h MDEV-22419 update windows timezone data from using newest ICU source 2020-04-30 01:21:44 +02:00
winservice.c Fix compile warning 2020-07-15 09:49:48 +02:00
winservice.h Update FSF address 2019-05-10 20:52:00 +03:00
wsrep_applier.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
wsrep_applier.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
wsrep_binlog.cc Merge 10.2 into 10.3 2020-04-15 09:56:03 +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 Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
wsrep_dummy.cc galera fixes related to THD::LOCK_thd_kill 2021-02-02 14:08:07 +01:00
wsrep_hton.cc Merge 10.2 into 10.3 2020-06-06 18:50:25 +03:00
wsrep_mysqld.cc merge 2021-02-02 12:43:17 +01:00
wsrep_mysqld.h Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
wsrep_mysqld_c.h Update FSF address 2019-05-11 19:25:02 +03:00
wsrep_notify.cc Merge branch 'bb-10.2-release' into bb-10.3-release 2021-02-18 22:09:53 +01:00
wsrep_priv.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
wsrep_sst.cc Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
wsrep_sst.h Merge 10.2 into 10.3 2020-08-26 10:45:47 +03:00
wsrep_thd.cc Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
wsrep_thd.h MDEV-23101 : SIGSEGV in lock_rec_unlock() when Galera is enabled 2020-09-10 13:18:12 +03:00
wsrep_utils.cc Merge 10.2 into 10.3 2020-08-26 10:45:47 +03:00
wsrep_utils.h MDEV-23483: Set Galera SST thd as system thread 2020-08-25 12:12:44 +03:00
wsrep_var.cc Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
wsrep_var.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
wsrep_xid.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
wsrep_xid.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00