mariadb/sql
Sergei Golubchik 5ad7f52558 MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition
When you only need view structure, don't call handle_derived with
DT_CREATE and rely on its internal hackish check to skip DT_CREATE.
Because handle_derived is called from many different places,
and this internal hackish check is indiscriminative.

Instead, just don't ask handle_derived to do DT_CREATE
if you don't want it to do DT_CREATE.
2021-05-04 09:01:55 +02:00
..
share fixed some korean error messages 2021-04-21 10:30:23 +10:00
add_errmsg
authors.h
bounded_queue.h
client_settings.h
CMakeLists.txt
compat56.cc
compat56.h
contributors.h Update sponsors 2021-03-12 07:02:29 +11:00
create_options.cc don't do a warning for bad table options in replication slave thread 2021-01-11 21:54:47 +01:00
create_options.h
custom_conf.h
datadict.cc
datadict.h
debug_sync.cc
debug_sync.h
derror.cc
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h
encryption.cc
event_data_objects.cc MDEV-24807:A possibility for double free in dtor of Event_queue_element_for_exec in the case of OOM 2021-04-20 23:19:25 +03:00
event_data_objects.h Fixup: Event_queue_element_for_exec initializer list not supported on gcc-4.1 2021-04-21 11:21:57 +03:00
event_db_repository.cc
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc MDEV-24807:A possibility for double free in dtor of Event_queue_element_for_exec in the case of OOM 2021-04-20 23:19:25 +03:00
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc
events.h
field.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
field.h MDEV-24583 SELECT aborts after failed REPLACE into table with vcol 2021-04-27 11:51:17 +03:00
field_conv.cc
filesort.cc Revert "MDEV-24033: SIGSEGV in __memcmp_avx2_movbe from queue_insert | SIGSEGV in __memcmp_avx2_movbe from native_compare" 2020-12-10 08:45:20 +01:00
filesort.h
filesort_utils.cc
filesort_utils.h
gcalc_slicescan.cc
gcalc_slicescan.h
gcalc_tools.cc
gcalc_tools.h
gen_lex_hash.cc
gen_lex_token.cc
gen_win_tzname_data.ps1 Update timezone data on Windows 2021-04-22 15:51:55 +02:00
group_by_handler.cc
group_by_handler.h
gstream.cc
gstream.h
ha_partition.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
ha_partition.h
handler.cc MDEV-18428 Memory: If transactional=0 is specified in CREATE TABLE, it is not possible to ALTER TABLE 2021-01-11 21:54:47 +01:00
handler.h MDEV-24532 Table corruption ER_NO_SUCH_TABLE_IN_ENGINE .. on table with foreign key 2021-03-02 15:23:56 +02:00
hash_filo.cc
hash_filo.h
hostname.cc
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-25182 Complex query in Store procedure corrupts results 2021-04-12 15:59:23 +02:00
item.h MDEV-25091 CREATE TABLE: field references qualified by a wrong table name succeed 2021-04-23 15:20:35 +03:00
item_buff.cc
item_cmpfunc.cc MDEV-24519: Server crashes in Charset::set_charset upon SELECT 2021-03-12 10:13:05 +05:30
item_cmpfunc.h Item_func_like::walk() was ignoring escape_item 2020-12-19 11:44:42 +01:00
item_create.cc MDEV-13467: Feature request: Support for ST_Distance_Sphere() 2021-03-27 10:42:39 +01:00
item_create.h
item_func.cc MDEV-22387: Do not violate __attribute__((nonnull)) 2020-11-02 14:19:21 +02:00
item_func.h
item_geofunc.cc MDEV-13467: Feature request: Support for ST_Distance_Sphere() 2021-03-27 21:02:19 +01:00
item_geofunc.h MDEV-13467: Feature request: Support for ST_Distance_Sphere() 2021-03-27 10:42:39 +01:00
item_inetfunc.cc
item_inetfunc.h
item_jsonfunc.cc
item_jsonfunc.h
item_row.cc
item_row.h
item_strfunc.cc
item_strfunc.h
item_subselect.cc MDEV-25407: EXISTS subquery with correlation in ON expression crashes 2021-04-16 17:15:22 +03:00
item_subselect.h MDEV-25108: Running of the EXPLAIN EXTENDED statement produces extra warning in case it is executed in PS (prepared statement) mode 2021-04-12 20:16:57 +07:00
item_sum.cc MDEV-4677 GROUP_CONCAT not showing any output with group_concat_max_len >= 4Gb 2020-12-10 08:45:20 +01:00
item_sum.h
item_timefunc.cc
item_timefunc.h
item_windowfunc.cc
item_windowfunc.h
item_xmlfunc.cc
item_xmlfunc.h
key.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
key.h
keycaches.cc
keycaches.h
lex.h
lex_symbol.h
lock.cc
lock.h
log.cc MDEV-24526 binlog rotate via FLUSH LOGS may obsolate binlog file for recovery too eary 2021-04-21 15:39:32 +03:00
log.h MDEV-4633: multi_source.simple test fails sporadically 2020-11-12 13:04:39 +05:30
log_event.cc MDEV-16146: MariaDB slave stops with following errors. 2021-04-30 20:34:31 +05:30
log_event.h MDEV-16146: MariaDB slave stops with following errors. 2021-04-30 20:34:31 +05:30
log_event_old.cc
log_event_old.h
log_slow.h
main.cc
mdl.cc MDEV-23851 BF-BF Conflict issue because of UK GAP locks 2021-01-18 08:09:06 +02:00
mdl.h
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache.cc MDEV-15064: IO_CACHE mysys read_pos, not libmaria rc_pos 2021-04-17 17:44:41 +10:00
mf_iocache_encr.cc MDEV-22387: Do not violate __attribute__((nonnull)) 2020-11-02 14:19:21 +02:00
MSG00001.bin
multi_range_read.cc
multi_range_read.h
my_apc.cc
my_apc.h
my_decimal.cc
my_decimal.h MDEV-23702 calculating(auto rounding) issue 2020-10-29 09:27:56 +01:00
my_json_writer.cc
my_json_writer.h
mysql_install_db.cc
mysql_upgrade_service.cc
mysqld.cc Correct the value of global memory_used 2021-03-08 14:54:05 +01:00
mysqld.h cleanup: remove slave background thread, use handle_manager thread instead 2021-01-24 11:35:55 +01:00
mysqld_suffix.h
net_serv.cc
nt_servc.cc
nt_servc.h
opt_index_cond_pushdown.cc
opt_range.cc MDEV-22251: get_key_scans_params: Conditional jump or move depends on uninitialised value 2021-01-28 20:46:13 +03:00
opt_range.h
opt_range_mrr.cc
opt_subselect.cc
opt_subselect.h
opt_sum.cc MDEV-25112 MIN/MAX aggregation over an indexed column may return wrong result 2021-03-18 09:54:49 -07:00
opt_table_elimination.cc
parse_file.cc
parse_file.h
partition_element.h
partition_info.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
partition_info.h
password.c
plistsort.c
procedure.cc
procedure.h
protocol.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
protocol.h
records.cc
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_gtid.cc MDEV 15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete 2020-11-30 22:21:43 +02:00
rpl_gtid.h
rpl_handler.cc
rpl_handler.h
rpl_injector.cc MDEV 15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete 2020-11-30 22:21:43 +02:00
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_parallel.cc MDEV-8134: The relay-log is not flushed after the slave-relay-log.999999 showed 2021-01-21 13:00:02 +05:30
rpl_parallel.h
rpl_record.cc
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc MDEV-8134: The relay-log is not flushed after the slave-relay-log.999999 showed 2021-01-21 13:00:02 +05:30
rpl_rli.h
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
session_tracker.cc
session_tracker.h
set_var.cc
set_var.h
signal_handler.cc signal handler, display coredump file pattern similarly to MDEV-25294 but for FreeBSD, thankfully the sysctl OID is the same. 2021-04-15 04:03:40 +10:00
slave.cc cleanup: remove slave background thread, use handle_manager thread instead 2021-01-24 11:35:55 +01:00
slave.h
sp.cc
sp.h
sp_cache.cc
sp_cache.h
sp_head.cc MDEV 15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete 2020-11-30 22:21:43 +02:00
sp_head.h
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc
sp_rcontext.h
spatial.cc MDEV-13467 fixup: Improve error handling 2021-04-08 09:46:56 +03:00
spatial.h MDEV-13467: Feature request: Support for ST_Distance_Sphere() 2021-03-27 10:42:39 +01:00
sql_acl.cc MDEV-25258 : SET PASSWORD command fail with wsrep api 2021-04-28 11:11:25 +03:00
sql_acl.h
sql_admin.cc MDEV 15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete 2020-11-30 22:21:43 +02:00
sql_admin.h
sql_alter.cc
sql_alter.h
sql_analyse.cc
sql_analyse.h
sql_analyze_stmt.cc
sql_analyze_stmt.h
sql_array.h
sql_audit.cc
sql_audit.h
sql_base.cc MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition 2021-05-04 09:01:55 +02:00
sql_base.h
sql_basic_types.h
sql_binlog.cc
sql_binlog.h
sql_bitmap.h
sql_bootstrap.cc
sql_bootstrap.h
sql_builtin.cc.in
sql_cache.cc MDEV-4677 GROUP_CONCAT not showing any output with group_concat_max_len >= 4Gb 2020-12-10 08:45:20 +01:00
sql_cache.h MDEV-4677 GROUP_CONCAT not showing any output with group_concat_max_len >= 4Gb 2020-12-10 08:45:20 +01:00
sql_callback.h
sql_class.cc MDEV-16962 Assertion failed in open_purge_table upon concurrent ALTER/FLUSH 2021-04-27 11:51:17 +03:00
sql_class.h MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition 2021-05-04 09:01:55 +02:00
sql_client.cc
sql_cmd.h
sql_connect.cc MDEV-17852 Altered connection limits for user have no effect 2021-01-11 21:54:47 +01:00
sql_connect.h
sql_const.h
sql_crypt.cc
sql_crypt.h
sql_cte.cc MDEV-24597 Explicit column name error in CTE of UNION 2021-03-10 22:16:23 -08:00
sql_cte.h
sql_cursor.cc
sql_cursor.h
sql_db.cc
sql_db.h
sql_delete.cc This patch complements the patch for MDEV-24823. 2021-04-23 14:32:59 -07:00
sql_delete.h
sql_derived.cc MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition 2021-05-04 09:01:55 +02:00
sql_derived.h
sql_digest.cc
sql_digest.h
sql_digest_stream.h
sql_do.cc
sql_do.h
sql_error.cc
sql_error.h
sql_explain.cc
sql_explain.h
sql_expression_cache.cc
sql_expression_cache.h
sql_get_diagnostics.cc
sql_get_diagnostics.h
sql_handler.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
sql_handler.h
sql_help.cc MDEV-22422: Assertion `! is_set()' failed in Diagnostics_area::set_eof_status 2020-12-15 13:00:24 +05:30
sql_help.h
sql_hset.h
sql_insert.cc MDEV-24583 SELECT aborts after failed REPLACE into table with vcol 2021-04-27 11:51:17 +03:00
sql_insert.h
sql_join_cache.cc MDEV-24767 Wrong result when forced BNLH is used for join supported 2021-03-22 22:04:54 -07:00
sql_join_cache.h MDEV-21104 Wrong result (extra rows and wrong values) with incremental BNLH 2021-03-10 17:28:40 -08:00
sql_lex.cc Bug#29363867: LOST CONNECTION TO MYSQL SERVER DURING QUERY 2021-04-27 18:21:01 +02:00
sql_lex.h Bug#29363867: LOST CONNECTION TO MYSQL SERVER DURING QUERY 2021-04-27 18:21:01 +02:00
sql_lifo_buffer.h
sql_list.cc
sql_list.h
sql_load.cc
sql_load.h
sql_locale.cc
sql_locale.h
sql_manager.cc cleanup: fix and generalize handle_manager thread 2021-01-24 11:35:55 +01: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-25362 Incorrect name resolution for subqueries in ON expressions 2021-04-17 11:02:29 -07:00
sql_parse.h MDEV-24860: Incorrect behaviour of SET STATEMENT in case it is executed as a prepared statement 2021-02-25 14:36:09 +07:00
sql_partition.cc
sql_partition.h
sql_partition_admin.cc
sql_partition_admin.h
sql_plist.h
sql_plugin.cc
sql_plugin.h MDEV-17251 SHOW STATUS unnecessary calls calc_sum_of_all_status 2021-01-11 21:54:47 +01:00
sql_plugin_compat.h
sql_plugin_services.ic MDEV-24853: Duplicate key generated during cluster configuration change 2021-03-08 11:15:08 +01:00
sql_prepare.cc MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition 2021-05-04 09:01:55 +02:00
sql_prepare.h
sql_priv.h
sql_profile.cc
sql_profile.h
sql_reload.cc
sql_reload.h
sql_rename.cc
sql_rename.h
sql_repl.cc MDEV-16146: MariaDB slave stops with following errors. 2021-04-30 20:34:31 +05:30
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_select.cc MDEV-24925: Server crashes in Item_subselect::init_expr_cache_tracker 2021-04-25 21:22:54 +03:00
sql_select.h MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
sql_servers.cc
sql_servers.h
sql_show.cc MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition 2021-05-04 09:01:55 +02:00
sql_show.h
sql_signal.cc
sql_signal.h
sql_sort.h
sql_state.c
sql_statistics.cc cleanup: stat tables 2021-02-22 19:27:12 +01:00
sql_statistics.h MDEV-19474: Histogram statistics are used even with optimizer_use_condition_selectivity=3 2021-02-16 11:53:13 +05:30
sql_string.cc MDEV-22387: Do not violate __attribute__((nonnull)) 2020-11-02 14:19:21 +02:00
sql_string.h
sql_table.cc MDEV-19198 - DBUG assert in CREATE IF NOT EXIST under LOCK TABLES WRITE 2021-04-28 08:53:37 +02:00
sql_table.h
sql_tablespace.cc
sql_tablespace.h
sql_test.cc mallinfo2: whitespace fix 2021-03-30 16:16:24 +11:00
sql_test.h
sql_time.cc
sql_time.h
sql_trigger.cc
sql_trigger.h
sql_truncate.cc MDEV-24532 Table corruption ER_NO_SUCH_TABLE_IN_ENGINE .. on table with foreign key 2021-03-02 15:23:56 +02:00
sql_truncate.h
sql_type.cc
sql_type.h Revert "MDEV-24033: SIGSEGV in __memcmp_avx2_movbe from queue_insert | SIGSEGV in __memcmp_avx2_movbe from native_compare" 2020-12-10 08:45:20 +01:00
sql_type_int.h
sql_udf.cc Bug #31674599: THE UDF_INIT() FUNCTION CAUSE SERVER CRASH 2021-04-27 18:21:01 +02:00
sql_udf.h
sql_union.cc MDEV-23406 Signal 8 in maria_create after recursive cte query 2020-12-16 09:13:24 -08:00
sql_union.h
sql_update.cc Another correction of the patch for MDEV-24823. 2021-04-28 17:39:04 -07:00
sql_update.h
sql_view.cc MDEV-22781 CREATE VIEW containing WITH clause Signal 11 2020-12-07 09:26:40 -08:00
sql_view.h
sql_window.cc
sql_window.h
sql_yacc.yy Bug#29363867: LOST CONNECTION TO MYSQL SERVER DURING QUERY 2021-04-28 11:31:18 +02:00
strfunc.cc
strfunc.h
structs.h MDEV-11172: EXPLAIN shows non-sensical value for key_len with type=index 2021-01-30 14:41:43 +05:30
sys_vars.cc make @@wsrep_provider and @@wsrep_notify_cmd read-only 2021-02-18 19:03:01 +01:00
sys_vars.ic Merge branch '10.1' into 10.2 2020-10-28 10:56:38 +01:00
sys_vars_shared.h
table.cc MDEV-11172: EXPLAIN shows non-sensical value for key_len with type=index 2021-01-30 14:41:43 +05:30
table.h MDEV-11172: EXPLAIN shows non-sensical value for key_len with type=index 2021-01-30 14:41:43 +05:30
table_cache.cc
table_cache.h
temporary_tables.cc
thr_malloc.cc
thr_malloc.h
threadpool.h
threadpool_common.cc
threadpool_generic.cc
threadpool_win.cc
transaction.cc MDEV 15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete 2020-11-30 22:21:43 +02:00
transaction.h
tzfile.h
tztime.cc
tztime.h
udf_example.c
udf_example.def
uniques.cc
uniques.h
unireg.cc MDEV-18428 Memory: If transactional=0 is specified in CREATE TABLE, it is not possible to ALTER TABLE 2021-01-11 21:54:47 +01:00
unireg.h MDEV-22387: Do not violate __attribute__((nonnull)) 2020-11-02 14:19:21 +02:00
win_tzname_data.h Update timezone data on Windows 2021-04-22 15:51:55 +02:00
winservice.c
winservice.h
wsrep_applier.cc MDEV 15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete 2020-11-30 22:21:43 +02:00
wsrep_applier.h
wsrep_binlog.cc
wsrep_binlog.h
wsrep_check_opts.cc
wsrep_dummy.cc MDEV-24853: Duplicate key generated during cluster configuration change 2021-03-08 11:15:08 +01:00
wsrep_hton.cc
wsrep_mysqld.cc MDEV-24923 : Port selected Galera conflict resolution changes from 10.6 2021-03-30 08:58:10 +03:00
wsrep_mysqld.h
wsrep_mysqld_c.h
wsrep_notify.cc don't allocate 64K on the stack 2021-02-18 12:16:11 +01:00
wsrep_priv.h
wsrep_sst.cc MDEV-19950: Galera test failure on galera_ssl_upgrade 2021-02-11 13:44:01 +01:00
wsrep_sst.h
wsrep_thd.cc MDEV-24853: Duplicate key generated during cluster configuration change 2021-03-08 11:15:08 +01:00
wsrep_thd.h
wsrep_utils.cc
wsrep_utils.h
wsrep_var.cc
wsrep_var.h
wsrep_xid.cc
wsrep_xid.h