mariadb/sql
unknown 96cf9a667c MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs
This patch mainly adds sorting of all indexes for partial matching
according to their NULL selectivity. The patch also fixes a related bug
in subselect_rowid_merge_engine::test_null_row() where the wrong matched
indexes were skipped.

In addition the patch:
- adds few ::print() methods,
- renames few variables that had similar names but different purpose.
2010-02-22 17:16:55 +02:00
..
examples Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-06-17 15:54:01 +02:00
share Merge 2009-11-09 18:32:39 -08:00
.cvsignore
add_errmsg
authors.h This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
client_settings.h Bug#46013: rpl_extraColmaster_myisam fails on pb2 2009-08-13 17:07:20 -03:00
CMakeLists.txt Backport into MariaDB-5.2 the following: 2009-12-20 18:26:15 -08:00
contributors.h
custom_conf.h
derror.cc
des_key_file.cc
discover.cc
event_data_objects.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
event_data_objects.h
event_db_repository.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
event_db_repository.h
event_parse_data.cc Bug#29125 Windows Server X64: so many compiler warnings 2009-02-13 11:41:47 -05:00
event_parse_data.h Added "Sun Microsystems, Inc." to copyright headers on files modified 2008-11-10 21:21:49 +01:00
event_queue.cc WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
event_queue.h
event_scheduler.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
event_scheduler.h
events.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
events.h
field.cc Backport into MariaDB-5.2 the following: 2009-12-20 18:26:15 -08:00
field.h Merge 2009-11-09 18:32:39 -08:00
field_conv.cc Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-06-17 15:54:01 +02:00
filesort.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
frm_crypt.cc
gen_lex_hash.cc Bug#29125 Windows Server X64: so many compiler warnings 2009-02-13 11:41:47 -05:00
gstream.cc Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-06-09 18:11:21 +02:00
gstream.h
ha_ndbcluster.cc Backport into MariaDB-5.2 the following: 2009-12-15 20:23:55 +03:00
ha_ndbcluster.h Backport into MariaDB-5.2 the following: 2009-12-15 20:23:55 +03:00
ha_ndbcluster_binlog.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
ha_partition.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
handler.cc Backport into MariaDB-5.2 the following: 2009-12-15 20:23:55 +03:00
handler.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
hash_filo.cc
hash_filo.h
hostname.cc We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
init.cc
item.cc Change Field_enumerator to enumerate Item_field-s not Field-s. 2010-02-21 08:32:23 +02:00
item.h Change Field_enumerator to enumerate Item_field-s not Field-s. 2010-02-21 08:32:23 +02:00
item_buff.cc Subquery optimizations: non-semijoin materialization 2010-01-28 16:48:33 +03:00
item_cmpfunc.cc Subquery optimizations backport: 2010-02-17 13:05:27 +03:00
item_cmpfunc.h MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-19 23:55:57 +02:00
item_create.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
item_create.h
item_func.cc Subquery optimizations: non-semijoin materialization 2010-01-28 16:48:33 +03:00
item_func.h Subquery optimizations: non-semijoin materialization 2010-01-28 16:48:33 +03:00
item_geofunc.cc Bug#44684: valgrind reports invalid reads in 2009-06-17 16:58:33 +02:00
item_geofunc.h
item_row.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
item_row.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
item_strfunc.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
item_strfunc.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
item_subselect.cc MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-22 17:16:55 +02:00
item_subselect.h MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-22 17:16:55 +02:00
item_sum.cc BUG#31480: Incorrect result for nested subquery when executed via semi join 2010-02-12 02:59:58 +03:00
item_sum.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
item_timefunc.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
item_timefunc.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
item_xmlfunc.cc The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
item_xmlfunc.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
key.cc Bug#37721: ORDER BY when WHERE contains non-partitioned 2008-10-10 12:01:01 +02:00
lex.h Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
lex_symbol.h
lock.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
log.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
log.h This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
log_event.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
log_event.h MWL#36: Add a mysqlbinlog option to change the used database 2009-10-24 23:43:39 +04:00
log_event_old.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
log_event_old.h
log_slow.h Updated documentation files to reflect MariaDB and not the Maria storage engine or MySQL 2009-09-03 17:05:38 +03:00
Makefile.am Subquery optimization backport: 2010-02-16 00:53:06 +03:00
message.h Bug#40280: Message compiler(mc.exe) needed to compile MySQL on windows. 2008-10-23 15:28:53 +02:00
message.mc Bug#40280: Message compiler(mc.exe) needed to compile MySQL on windows. 2008-10-23 15:28:53 +02:00
message.rc Bug#40280: Message compiler(mc.exe) needed to compile MySQL on windows. 2008-10-23 15:28:53 +02:00
mf_iocache.cc
MSG00001.bin Bug#40280: Message compiler(mc.exe) needed to compile MySQL on windows. 2008-10-23 15:28:53 +02:00
multi_range_read.cc MWL#67: MRR backport 2009-12-22 15:33:21 +03:00
multi_range_read.h MWL#67: MRR backport 2009-12-22 15:33:21 +03:00
my_decimal.cc auto-merge 2008-11-27 12:33:04 +01:00
my_decimal.h Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
my_lock.c
mysql_priv.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
mysqld.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
mysqld_suffix.h
net_serv.cc Manual merge. 2009-07-28 22:44:28 +04:00
nt_servc.cc merge 2008-11-22 01:10:38 +01:00
nt_servc.h merge 2008-11-22 01:10:38 +01:00
opt_index_cond_pushdown.cc Merge MWL#67: MRR Backport and BKA backport. 2009-12-22 15:49:15 +03:00
opt_range.cc Subquery optimizations: non-semijoin materialization 2010-01-28 16:48:33 +03:00
opt_range.h MWL#67: MRR backport 2009-12-22 15:33:21 +03:00
opt_range_mrr.cc MWL#67: MRR backport 2009-12-22 15:33:21 +03:00
opt_subselect.cc MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-19 23:55:57 +02:00
opt_subselect.h Subquery optimization backport: 2010-02-16 00:53:06 +03:00
opt_sum.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
opt_table_elimination.cc Change Field_enumerator to enumerate Item_field-s not Field-s. 2010-02-21 08:32:23 +02:00
parse_file.cc Bug#44834 strxnmov is expected to behave as you'd expect 2009-06-19 13:24:43 +05:00
parse_file.h Bug#43385 Cannot ALTER DATABASE ... UPGRADE DATA DIRECTORY NAME when Views exist(addon) 2009-04-13 18:09:10 +05:00
partition_element.h
partition_info.cc Merge with base MySQL 5.1 2009-02-15 12:58:34 +02:00
partition_info.h fixed a valgrind warning in partition_pruning 2009-09-02 18:42:08 +03:00
password.c Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
procedure.cc
procedure.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
protocol.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
protocol.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
records.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
repl_failsafe.cc BUG#41924: high-level replication functions are not commented 2009-01-09 13:49:24 +01:00
repl_failsafe.h
rpl_constants.h BUG#40482: server/mysqlbinlog crashes when reading invalid Incident_log_event 2008-12-29 17:04:10 +01:00
rpl_filter.cc MWL#36: Add a mysqlbinlog option to change the used database 2009-10-24 23:43:39 +04:00
rpl_filter.h MWL#36: Add a mysqlbinlog option to change the used database 2009-10-24 23:43:39 +04:00
rpl_injector.cc
rpl_injector.h
rpl_mi.cc Merge latest XtraDB from lp:percona-xtradb into MariaDB. 2009-06-11 14:53:26 +02:00
rpl_mi.h
rpl_record.cc BUG#39753: Replication failure on MIXED + bit + myisam + no PK 2009-03-05 20:54:53 +01:00
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc BUG#45511 rpl.rpl_binlog_corruption fails with warning messages in Valgrind 2009-06-16 16:04:30 +01:00
rpl_reporting.h BUG#45511 rpl.rpl_binlog_corruption fails with warning messages in Valgrind 2009-06-16 16:04:30 +01:00
rpl_rli.cc Fixed compiler warning message 2009-10-26 13:35:42 +02:00
rpl_rli.h Fixed problems in merge 2009-05-19 12:28:05 +03:00
rpl_tblmap.cc Bug#31455 mysqlbinlog don't print user readable info about RBR events 2008-08-20 19:06:31 +05:00
rpl_tblmap.h Bug#31455 mysqlbinlog don't print user readable info about RBR events 2008-08-20 19:06:31 +05:00
rpl_utility.cc
rpl_utility.h Bug#42977 RBR logs for rows with more than 250 column results in corrupt binlog 2009-03-25 12:53:56 +02:00
scheduler.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
scheduler.h Added mariadb and mariadb-version as my.conf option tags 2009-03-18 04:14:22 +02:00
set_var.cc Merge MWL#67: MRR Backport and BKA backport. 2009-12-22 15:49:15 +03:00
set_var.h Updated documentation files to reflect MariaDB and not the Maria storage engine or MySQL 2009-09-03 17:05:38 +03:00
slave.cc Merge Mysql 5.1.39 merge into MariaDB trunk 2009-11-06 18:22:32 +01:00
slave.h Make MariaDB work on windows: 2009-09-15 05:04:15 +04:00
sp.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
sp.h BUG#41166 stored function requires "deterministic" if binlog_format is "statement" 2009-07-28 18:44:38 +01:00
sp_cache.cc WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
sp_cache.h WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
sp_head.cc The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
sp_head.h merging 2009-04-29 07:59:10 +05:00
sp_pcontext.cc merging 2009-04-29 07:59:10 +05:00
sp_pcontext.h merging 2009-04-29 07:59:10 +05:00
sp_rcontext.cc
sp_rcontext.h
spatial.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
spatial.h Merge from 5.0-bugteam 2009-06-17 16:56:44 +02:00
sql_acl.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
sql_acl.h Bug#44658 Create procedure makes server crash when user does not have ALL privilege 2009-05-29 15:37:54 +02:00
sql_analyse.cc Merge from 5.0-bugteam 2009-06-17 16:56:44 +02:00
sql_analyse.h
sql_array.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_base.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_binlog.cc We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
sql_bitmap.h MWL#17: Table elimination 2009-08-13 02:34:21 +04:00
sql_builtin.cc.in
sql_cache.cc Fixed compiler warning message 2009-10-26 13:35:42 +02:00
sql_cache.h Bug#43758 Query cache can lock up threads in 'freeing items' state 2009-06-16 10:34:47 +02:00
sql_class.cc MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-19 23:55:57 +02:00
sql_class.h MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-19 23:55:57 +02:00
sql_client.cc
sql_connect.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
sql_crypt.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
sql_crypt.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
sql_cursor.cc Subquery optimizations backport: fix test failures, update test results. 2010-02-18 00:59:41 +03:00
sql_cursor.h
sql_db.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
sql_delete.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
sql_derived.cc Subquery optimizations backport: fix test failures, update test results. 2010-02-18 00:59:41 +03:00
sql_do.cc
sql_error.cc Bug#29125 Windows Server X64: so many compiler warnings 2009-02-13 11:41:47 -05:00
sql_error.h
sql_handler.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
sql_help.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
sql_insert.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
sql_join_cache.cc Subquery optimization backport: 2010-02-16 00:53:06 +03:00
sql_lex.cc BUG#31480: Incorrect result for nested subquery when executed via semi join 2010-02-12 02:59:58 +03:00
sql_lex.h Subquery optimization backport: 2010-02-16 00:53:06 +03:00
sql_list.cc
sql_list.h Merge lp:maria -> lp:~maria-captains/maria/maria-5.1-merge 2009-09-15 14:46:35 +04:00
sql_load.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
sql_locale.cc Bug#37575 UCASE fails on monthname 2008-12-23 18:08:04 +04:00
sql_manager.cc Bug#38522: 5 seconds delay when closing application using embedded server 2008-12-04 19:41:53 +01:00
sql_map.cc
sql_map.h
sql_olap.cc
sql_parse.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_partition.cc Merge 2009-11-09 18:32:39 -08:00
sql_partition.h
sql_plugin.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
sql_plugin.h Bug#19027 MySQL 5.0 starts even with Fatal InnoDB errors 2009-05-14 14:03:33 +02:00
sql_prepare.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_profile.cc Merge MySQL 5.1.39 into MariaDB 5.1. 2009-10-15 23:38:29 +02:00
sql_profile.h Backport WL#3653 to 5.1 to enable bundled innodb plugin. 2009-06-10 10:59:49 +02:00
sql_rename.cc Bug#44834 strxnmov is expected to behave as you'd expect 2009-06-19 13:24:43 +05:00
sql_repl.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
sql_repl.h
sql_select.cc MWL#68 Subquery optimization: Efficient NOT IN execution with NULLs 2010-02-19 23:55:57 +02:00
sql_select.h Subquery optimization backport: 2010-02-16 00:53:06 +03:00
sql_servers.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
sql_servers.h
sql_show.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_show.h Added "Sun Microsystems, Inc." to copyright headers on files modified 2008-11-10 21:21:49 +01:00
sql_sort.h
sql_state.c
sql_string.cc MWL#36: Add a mysqlbinlog option to change the used database 2009-10-24 23:43:39 +04:00
sql_string.h MWL#36: Add a mysqlbinlog option to change the used database 2009-10-24 23:43:39 +04:00
sql_table.cc Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
sql_tablespace.cc
sql_test.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_trigger.cc Merge from 5.0-bugteam 2009-06-17 16:56:44 +02:00
sql_trigger.h Fix for 2009-01-14 18:50:51 +04:00
sql_udf.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
sql_udf.h
sql_union.cc Subquery optimizations backport: fix test failures, update test results. 2010-02-18 00:59:41 +03:00
sql_update.cc Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_view.cc Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
sql_view.h Bug#43385 Cannot ALTER DATABASE ... UPGRADE DATA DIRECTORY NAME when Views exist(addon) 2009-04-13 18:09:10 +05:00
sql_yacc.yy Merge of the patch introducing virtual columns into maria-5.2 2009-11-11 20:31:28 -08:00
strfunc.cc Updated documentation files to reflect MariaDB and not the Maria storage engine or MySQL 2009-09-03 17:05:38 +03:00
structs.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
table.cc Backport into MariaDB-5.2 the following: 2009-12-15 10:16:46 +03:00
table.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
thr_malloc.cc MWL#36: Add a mysqlbinlog option to change the used database. 2009-10-16 15:20:09 +04:00
time.cc Merge from 5.0-bugteam 2009-06-17 16:56:44 +02:00
tzfile.h
tztime.cc This is based on the userstatv2 patch from Percona and OurDelta. 2009-10-19 20:14:48 +03:00
tztime.h Backport of a 5.0.74 fix into 5.0.72sp1: 2009-01-12 17:40:29 +01:00
udf_example.c Automatic merge with maria-merge 2009-10-26 13:38:17 +02:00
udf_example.def
uniques.cc Merge from 5.0-bugteam 2009-06-17 16:56:44 +02:00
unireg.cc The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
unireg.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00