mariadb/sql
Igor Babaev 97fb1f2679 Fixed bug mdev-10053.
The implementation of the walk method for the class Item_in_subselect
was missing. As a result the method never traversed the left operand
of any IN subquery predicate.

Item_exists_subselect::exists2in_processor() that performs the
Exist-To-In transformation calls the walk method to collect info
on outer references. As the walk method did not traverse the
left operands of the IN subqueries the outer references there
were not taken into account and some subqueries that were actually
correlated were marked as uncorrelated. It could lead to an
attempt of the materialization of such a subquery.

Also added a cleanup for some test cases merged from 5.5.
2017-04-21 14:34:24 -07:00
..
examples
share Merge branch '5.5' into 10.0 2017-03-21 11:35:50 +01:00
add_errmsg
authors.h
bounded_queue.h
client_settings.h
CMakeLists.txt Compiling, Windows . Avoid unnecessary rebuilds with MSVC. 2017-04-03 18:48:48 +00:00
compat56.cc
compat56.h
contributors.h Update MariaDB Foundation sponsors 2017-02-28 17:15:36 +04:00
create_options.cc
create_options.h
custom_conf.h
datadict.cc
datadict.h
debug_sync.cc bugfix: DEBUG_SYNC() invoked with no THD 2017-02-27 12:35:10 +01:00
debug_sync.h Fixed failing test cases and compiler warnings 2016-04-25 15:37:24 +03:00
derror.cc Fixed compiler error and some warnings on windows 2016-08-23 15:03:31 +03:00
derror.h
des_key_file.cc
des_key_file.h
discover.cc fix extension_based_table_discovery for partitioned tables 2016-03-21 11:43:19 +01:00
discover.h
event_data_objects.cc
event_data_objects.h
event_db_repository.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
event_queue.h
event_scheduler.cc MDEV-11221 - main.events_restart failed in bb 2017-03-01 11:35:24 +04:00
event_scheduler.h
events.cc
events.h
field.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
field.h Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
field_conv.cc
filesort.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
filesort.h
filesort_utils.cc
filesort_utils.h
gcalc_slicescan.cc
gcalc_slicescan.h MDEV-9527 build FAILs with GCC 5.1 with release supported "-std=c+11" 2016-03-18 16:55:11 +01:00
gcalc_tools.cc
gcalc_tools.h
gen_lex_hash.cc MDEV-9987 - gen_lex_hash leaks memory, making LeakSanitizer builds fail 2016-04-26 16:15:15 +04:00
gen_lex_token.cc
gstream.cc
gstream.h
ha_ndbcluster.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
ha_ndbcluster.h
ha_ndbcluster_binlog.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
ha_partition.h
handler.cc MDEV-12230 include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’" when -DWITHOUT_SERVER=1 2017-04-20 16:36:23 +02:00
handler.h Added new status variables to make it easier to debug certain problems: 2016-08-21 20:18:39 +03:00
hash_filo.cc
hash_filo.h
hostname.cc
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-8642: WHERE Clause not applied on View - Empty result set returned 2017-04-05 20:46:19 +02:00
item.h Merge branch '5.5' into 10.0 2017-03-21 11:35:50 +01:00
item_buff.cc
item_cmpfunc.cc Merge branch '5.5' into 10.0 2017-01-17 16:22:25 +01:00
item_cmpfunc.h Merge branch '5.5' into 10.0 2017-01-17 16:22:25 +01:00
item_create.cc
item_create.h
item_func.cc MDEV-9573 'Stop slave' hangs on replication slave 2017-02-28 16:10:46 +01:00
item_func.h Merge branch '5.5' into 10.0 2017-01-17 16:22:25 +01:00
item_geofunc.cc Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
item_geofunc.h Merge branch '5.5' into 10.0 2016-04-26 23:05:26 +02:00
item_inetfunc.cc
item_inetfunc.h
item_row.cc
item_row.h
item_strfunc.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
item_strfunc.h MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
item_subselect.cc Merge 5.5 into 10.0 2017-03-08 11:40:43 +02:00
item_subselect.h Fixed bug mdev-10053. 2017-04-21 14:34:24 -07:00
item_sum.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
item_sum.h
item_timefunc.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
item_timefunc.h MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
item_xmlfunc.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
item_xmlfunc.h
key.cc
key.h
keycaches.cc
keycaches.h
lex.h Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
lex_symbol.h
lock.cc
lock.h
log.cc Add protection to not access is_open() without LOCK_log mutex 2017-02-28 16:10:47 +01:00
log.h Bug#24388753: PRIVILEGE ESCALATION USING MYSQLD_SAFE 2016-08-25 13:42:17 +05:30
log_event.cc Added error checking for all calls to flush_relay_log_info() and stmt_done() 2017-02-28 16:10:47 +01:00
log_event.h
log_event_old.cc Added error checking for all calls to flush_relay_log_info() and stmt_done() 2017-02-28 16:10:47 +01:00
log_event_old.h
log_slow.h Merge 5.5 into 10.0 2017-03-08 11:40:43 +02:00
main.cc
mdl.cc MDEV-10630 rpl.rpl_mdev6020 fails in buildbot with timeout 2016-08-22 10:16:00 +03:00
mdl.h With parallel replication we have had a couple of bugs where DDL's 2016-08-12 20:02:23 +03:00
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache.cc
MSG00001.bin
multi_range_read.cc Added new status variables to make it easier to debug certain problems: 2016-08-21 20:18:39 +03:00
multi_range_read.h
my_apc.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
my_apc.h
my_decimal.cc
my_decimal.h
mysql_install_db.cc Windows : Fix server compile errors when compile with /Zc:strictStrings option 2017-02-28 12:57:33 +00:00
mysql_upgrade_service.cc
mysqld.cc Merge branch 'bb-10.0-vicentiu' into 10.0 2017-03-06 21:50:42 +02:00
mysqld.h MDEV-11221 - main.events_restart failed in bb 2017-03-01 11:35:24 +04:00
mysqld_suffix.h
net_serv.cc Merge branch '5.5' into 10.0 2016-09-27 09:21:19 +02:00
nt_servc.cc Windows : Fix server compile errors when compile with /Zc:strictStrings option 2017-02-28 12:57:33 +00:00
nt_servc.h Windows : Fix server compile errors when compile with /Zc:strictStrings option 2017-02-28 12:57:33 +00:00
opt_index_cond_pushdown.cc
opt_range.cc Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
opt_range.h
opt_range_mrr.cc
opt_subselect.cc MDEV-11108: Assertion `uniq_tuple_length_arg <= table->file->max_key_length()' failed in SJ_TMP_TABLE::create_sj_weedout_tmp_table 2017-01-24 01:25:50 +05:30
opt_subselect.h
opt_sum.cc
opt_table_elimination.cc
parse_file.cc
parse_file.h MDEV-10725 Server 10.1.17 fails to build using clang with c++11 2016-09-26 12:20:28 +02:00
partition_element.h
partition_info.cc Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
partition_info.h Bug#25092566: CREATE TABLE WITH DATA DIRECTORY CLAUSE DOES NOT REQUIRE SPECIAL 2016-11-25 14:55:01 +05:30
password.c
plistsort.c
procedure.cc
procedure.h
protocol.cc Fixed "Packets out of order" warning message on stdout in clients, 2016-08-21 20:38:47 +03:00
protocol.h
records.cc
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rpl_constants.h
rpl_filter.cc Merge branch '5.5' into 10.0 2016-12-09 16:33:48 +01:00
rpl_filter.h
rpl_gtid.cc
rpl_gtid.h
rpl_handler.cc
rpl_handler.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc Wait for slave threads to start during startup 2017-03-16 14:21:33 +02:00
rpl_mi.h Added a separate lock for start/stop/reset slave. 2017-02-28 16:10:46 +01:00
rpl_parallel.cc MDEV-11201: gtid_ignore_duplicates incorrectly ignores statements when GTID replication is not enabled 2017-04-10 07:53:27 +02:00
rpl_parallel.h MDEV-9573 'Stop slave' hangs on replication slave 2017-02-28 16:10:46 +01:00
rpl_record.cc MDEV-11636 Extra persistent columns on slave always gets NULL in RBR 2017-01-01 16:45:44 +05:30
rpl_record.h MDEV-11636 Extra persistent columns on slave always gets NULL in RBR 2017-01-01 16:45:44 +05:30
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Add protection to not access is_open() without LOCK_log mutex 2017-02-28 16:10:47 +01:00
rpl_rli.h Added error checking for all calls to flush_relay_log_info() and stmt_done() 2017-02-28 16:10:47 +01:00
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
set_var.cc
set_var.h
sha2.cc
signal_handler.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
slave.cc MDEV-11201: gtid_ignore_duplicates incorrectly ignores statements when GTID replication is not enabled 2017-04-10 07:53:27 +02:00
slave.h Added a separate lock for start/stop/reset slave. 2017-02-28 16:10:46 +01:00
sp.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sp.h Fix for bug#11759114 - '51401: GRANT TREATS NONEXISTENT 2017-02-27 12:35:10 +01:00
sp_cache.cc
sp_cache.h
sp_head.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
sp_head.h Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc
sp_rcontext.h
spatial.cc Bug#23280059: ITEM_ROW::ILLEGAL_METHOD_CALL(CONST CHAR*): 2016-07-19 08:03:09 +05:30
spatial.h
sql_acl.cc Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
sql_acl.h 2016-11-28 11:55:36 +05:30
sql_admin.cc Merge branch '5.5' into 10.0 2016-09-27 09:21:19 +02:00
sql_admin.h
sql_alter.cc
sql_alter.h MDEV-6390 CONVERT TO CHARACTER SET utf8 doesn't change DEFAULT CHARSET. 2017-02-26 23:01:23 +04:00
sql_analyse.cc
sql_analyse.h
sql_array.h
sql_audit.cc
sql_audit.h
sql_base.cc MDEV-11935: Queries in stored procedures with and EXISTS(SELECT * FROM VIEW) crashes and closes hte conneciton. 2017-02-27 10:12:17 +01:00
sql_base.h
sql_binlog.cc
sql_binlog.h
sql_bitmap.h
sql_bootstrap.cc
sql_bootstrap.h
sql_builtin.cc.in
sql_cache.cc
sql_cache.h
sql_callback.h
sql_class.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sql_class.h Merge branch '5.5' into 10.0 2017-01-17 16:22:25 +01:00
sql_client.cc
sql_cmd.h
sql_connect.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
sql_connect.h
sql_const.h Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sql_crypt.cc
sql_crypt.h
sql_cursor.cc
sql_cursor.h
sql_db.cc MDEV-12230 include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’" when -DWITHOUT_SERVER=1 2017-04-20 16:36:23 +02:00
sql_db.h
sql_delete.cc Merge branch '5.5' into 10.0 2017-01-14 19:59:34 +02:00
sql_delete.h
sql_derived.cc Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +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
sql_handler.h
sql_help.cc MDEV-9524 Cannot load from mysql.event when sql_mode is set to PAD_CHAR_TO_FULL_LENGTH 2016-06-21 21:26:31 +04:00
sql_help.h
sql_hset.h
sql_insert.cc Merge branch '5.5' into 10.0 2016-08-10 19:19:05 +02:00
sql_insert.h
sql_join_cache.cc Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
sql_join_cache.h
sql_lex.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
sql_lex.h MDEV-10035: DBUG_ASSERT on CREATE VIEW v1 AS SELECT * FROM t1 FOR UPDATE 2017-01-04 13:27:45 +01:00
sql_lifo_buffer.h
sql_list.cc
sql_list.h
sql_load.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sql_load.h
sql_locale.cc Merge branch '5.5' into 10.0 2016-04-26 23:05:26 +02:00
sql_locale.h MDEV-10052 Illegal mix of collations with DAYNAME(date_field)<>varchar_field 2016-05-10 19:13:06 +04:00
sql_manager.cc
sql_manager.h
sql_parse.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sql_parse.h Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
sql_partition.cc
sql_partition.h
sql_partition_admin.cc
sql_partition_admin.h
sql_plist.h
sql_plugin.cc Merge branch '5.5' into 10.0 2016-09-27 09:21:19 +02:00
sql_plugin.h Merge branch '5.5' into 10.0 2016-08-10 19:19:05 +02:00
sql_plugin_compat.h
sql_plugin_services.h
sql_prepare.cc Merge branch '5.5' into 10.0 2017-03-21 11:35:50 +01:00
sql_prepare.h
sql_priv.h
sql_profile.cc
sql_profile.h
sql_reload.cc MDEV-9573 'Stop slave' hangs on replication slave 2017-02-28 16:10:46 +01:00
sql_reload.h
sql_rename.cc MDEV-8569 build_table_filename() doesn't support temporary tables. 2016-07-18 11:50:08 +04:00
sql_rename.h
sql_repl.cc Added error checking for all calls to flush_relay_log_info() and stmt_done() 2017-02-28 16:10:47 +01:00
sql_repl.h
sql_select.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sql_select.h Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
sql_servers.cc
sql_servers.h
sql_show.cc Merge branch '5.5' into 10.0 2016-08-10 19:19:05 +02:00
sql_show.h MDEV-8633: information_schema.index_statistics doesn't delete 2016-06-20 09:58:31 +03:00
sql_signal.cc
sql_signal.h
sql_sort.h
sql_state.c
sql_statistics.cc Fixed bug mdev-11096. 2016-10-26 20:45:35 -07:00
sql_statistics.h Fixed bug mdev-11096. 2016-10-26 20:45:35 -07:00
sql_string.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
sql_string.h MDEV-11343 LOAD DATA INFILE fails to load data with an escape character followed by a multi-byte character 2016-11-29 06:51:12 +04:00
sql_table.cc Merge branch '5.5' into 10.0 2017-04-21 18:34:06 +02:00
sql_table.h MDEV-8569 build_table_filename() doesn't support temporary tables. 2016-07-18 11:50:08 +04:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc
sql_test.h
sql_time.cc MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
sql_time.h MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
sql_trigger.cc Merge branch '5.5' into 10.0 2017-01-14 19:59:34 +02:00
sql_trigger.h
sql_truncate.cc
sql_truncate.h
sql_udf.cc Merge remote-tracking branch 'origin/5.5' into 10.0 2017-01-06 17:09:59 +02:00
sql_udf.h
sql_union.cc Merge branch '5.5' into 10.0 2016-08-10 19:19:05 +02:00
sql_union.h
sql_update.cc Merge branch '5.5' into 10.0 2017-01-14 19:59:34 +02:00
sql_update.h
sql_view.cc MDEV-10035: DBUG_ASSERT on CREATE VIEW v1 AS SELECT * FROM t1 FOR UPDATE 2017-01-04 13:27:45 +01:00
sql_view.h
sql_yacc.yy Use %pure-parser instead of the deprecated %pure_parser. 2017-03-09 11:27:24 +02:00
strfunc.cc
strfunc.h
structs.h
sys_vars.cc MDEV-9573 'Stop slave' hangs on replication slave 2017-02-28 16:10:46 +01:00
sys_vars.h Merge branch '5.5' into 10.0 2017-01-12 03:37:13 +02:00
sys_vars_shared.h
table.cc MDEV-12261 build failure without P_S 2017-03-15 17:48:30 +01:00
table.h Merge branch '5.5' into 10.0 2017-01-14 19:59:34 +02:00
table_cache.cc MDEV-10315 - Online ALTER TABLE may get stuck in tdc_remove_table 2016-09-22 10:21:12 +04:00
table_cache.h
thr_malloc.cc
thr_malloc.h
threadpool.h
threadpool_common.cc MDEV-11083 performance schema test fail with threadpool 2016-10-19 00:21:28 +02:00
threadpool_unix.cc Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
threadpool_win.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
transaction.cc
transaction.h
tzfile.h
tztime.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
tztime.h
udf_example.c
udf_example.def
uniques.cc
unireg.cc
unireg.h
winservice.c MDEV-10118 : do not suggest upgrade from MySQL 5.7 to MariaDB 10.x in the installer. Do not lauch upgrade wizard after installation 2016-05-24 23:15:00 +02:00
winservice.h