mariadb/sql
Igor Babaev f003cc8a35 Fixed bug mdev-8603.
When building different range and index-merge trees the range optimizer
could build an index-merge tree with an index scan containing less ranges
then needed. This index-merge could be chosen as the best. Following this
index-merge the executioner missed some rows in the result set.
The invalid index scan was built due to an inconsistency in the code
back-ported from mysql into 5.3 that fixed mysql bug #11765831:
the code added to key_or() could change shared keys of the second
ored tree. Partially the problem was fixed in the patch for mariadb
bug #823301, but it turned out that only partially.
2017-01-18 11:42:41 -08:00
..
examples
share correct server side error messages 2015-04-12 21:40:07 +10:00
add_errmsg
authors.h
client_settings.h
CMakeLists.txt Merge remote-tracking branch 'mysql/5.5' into bb-5.5-merge @ mysql-5.5.42 2015-02-11 23:50:40 +01:00
contributors.h
create_options.cc
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 5.2 merge 2014-03-16 21:03:01 +01:00
discover.h
event_data_objects.cc
event_data_objects.h
event_db_repository.cc reduce code duplication a little 2016-12-22 13:02:32 +01:00
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc 5.2 merge 2014-03-16 21:03:01 +01:00
event_queue.h 5.2 merge 2014-03-16 21:03:01 +01:00
event_scheduler.cc MDEV-10043 - main.events_restart fails sporadically in buildbot (crashes upon 2016-06-20 15:17:10 +04:00
event_scheduler.h
events.cc
events.h
field.cc Merge branch 'mysql/5.5' into 5.5 2016-12-22 12:49:06 +01:00
field.h MDEV-8402 Bug #77473 Truncated data with subquery & UTF8 2016-06-10 17:06:38 +04:00
field_conv.cc Merge branch 'mysql/5.5' into 5.5 2016-02-09 11:27:40 +01:00
filesort.cc MDEV-10927: Crash When Using sort_union Optimization 2016-12-22 15:51:37 +05:30
filesort.h
frm_crypt.cc
frm_crypt.h
gcalc_slicescan.cc compilation errors on sparc sun studio 10 2016-02-15 12:51:35 +01:00
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 compilation errors on sparc sun studio 10 2016-02-15 12:51:35 +01:00
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
gstream.cc 5.2 merge 2014-03-16 21:03:01 +01:00
gstream.h 5.2 merge 2014-03-16 21:03:01 +01:00
ha_ndbcluster.cc
ha_ndbcluster.h 5.2 merge 2014-03-16 21:03:01 +01:00
ha_ndbcluster_binlog.cc Merge tag 'mysql-5.5.44' into bb-5.5-serg 2015-06-05 02:06:51 +02:00
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc MDEV-6605 Multiple Clients Inserting Causing Error: Failed to read auto-increment value from storage engine 2014-09-08 18:38:13 +02:00
ha_partition.h 5.2 merge 2014-03-16 21:03:01 +01:00
handler.cc MDEV-11353: fixes Identical logical conditions 2016-12-20 17:36:44 +04:00
handler.h use consistent error messaging for IGNORE 2016-04-20 18:27:23 +02:00
hash_filo.cc
hash_filo.h
hostname.cc
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-10386 Assertion `fixed == 1' failed in virtual String* Item_func_conv_charset::val_str(String*) 2016-12-21 15:39:45 +04:00
item.h MDEV-10713: signal 11 error on multi-table update - crash in handler::increment_statistics or in make_select or assertion failure pfs_thread == ((PFS_thread*) pthread_getspecific((THR_PFS))) 2016-12-08 23:19:55 +01:00
item_buff.cc
item_cmpfunc.cc bugfix: cmp_item_row::alloc_comparators() allocated on the wrong arena 2017-01-15 00:11:50 +01:00
item_cmpfunc.h MDEV-9690 concurrent queries with virtual columns crash in temporal code 2017-01-15 00:11:02 +01:00
item_create.cc
item_create.h
item_func.cc bugfix: Item_func_min_max stored thd internally 2017-01-15 00:12:16 +01:00
item_func.h bugfix: Item_func_min_max stored thd internally 2017-01-15 00:12:16 +01:00
item_geofunc.cc Merge branch 'mysql/5.5' into 5.5 2016-06-14 13:55:28 +02:00
item_geofunc.h Merge branch 'mysql/5.5' into 5.5 2016-04-20 15:25:55 +02:00
item_row.cc 5.2 merge 2014-03-16 21:03:01 +01:00
item_row.h
item_strfunc.cc MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04: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 branch 'mysql/5.5' into 5.5 2016-12-22 12:49:06 +01:00
item_subselect.h MDEV-10419: crash in mariadb 10.1.16-MariaDB-1~trusty 2016-07-30 20:13:03 +02:00
item_sum.cc MDEV-10468 Assertion `nr >= 0.0' failed in Item_sum_std::val_real() 2016-08-08 18:37:02 +04:00
item_sum.h MDEV-7821 Server crashes in Item_func_group_concat::fix_fields on 2nd execution of PS 2015-07-31 22:09:46 +02:00
item_timefunc.cc MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04: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
item_xmlfunc.h
key.cc
key.h
keycaches.cc
keycaches.h
lex.h MDEV-8328 Evaluation of two "!" operators depends on space in beetween 2016-06-14 13:59:55 +02:00
lex_symbol.h
lock.cc Added new states to be able to better diagnose where server hangs. 2014-05-03 19:12:17 +03:00
lock.h
log.cc MDEV-10388 MariaDB 10.1.x keeps (deleted) ML* files in tmpdir after LOAD DATA completes 2016-12-07 13:32:11 +01:00
log.h Bug#24388753: PRIVILEGE ESCALATION USING MYSQLD_SAFE 2016-08-25 13:42:17 +05:30
log_event.cc Merge branch 'mysql/5.5' into 5.5 2016-06-14 13:55:28 +02:00
log_event.h mysql-5.5.41 merge 2014-12-19 11:35:44 +01:00
log_event_old.cc Merge branch 'mysql/5.5' into 5.5 2016-06-14 13:55:28 +02:00
log_event_old.h 5.2 merge 2014-03-16 21:03:01 +01:00
log_slow.h
main.cc
mdl.cc
mdl.h
mem_root_array.h
message.h CRLF->LF 2015-06-02 22:07:47 +02:00
message.mc
message.rc CRLF->LF 2015-06-02 22:07:47 +02:00
mf_iocache.cc
MSG00001.bin
multi_range_read.cc MDEV-7068: MRR accessing uninitialised bytes, test case failure main.innodb_mrr 2014-11-13 14:12:41 +03:00
multi_range_read.h Merge 5.3->5.5 2014-10-29 13:22:48 +03:00
my_decimal.cc
my_decimal.h 5.2 merge 2014-03-16 21:03:01 +01:00
mysql_install_db.cc
mysql_upgrade_service.cc
mysqld.cc Merge branch 'mysql/5.5' into 5.5 2016-12-22 12:49:06 +01:00
mysqld.h Merge branch 'mysql/5.5' into 5.5 2016-04-20 15:25:55 +02:00
mysqld_suffix.h
net_serv.cc Merge branch 'mysql/5.5' into 5.5 2016-09-11 20:51:09 +02:00
nt_servc.cc
nt_servc.h
opt_index_cond_pushdown.cc
opt_range.cc Fixed bug mdev-8603. 2017-01-18 11:42:41 -08:00
opt_range.h MDEV-6434: Wrong result (extra rows) with ORDER BY, multiple-column index, InnoDB 2014-07-22 15:52:49 +04:00
opt_range_mrr.cc
opt_subselect.cc MDEV-7122: Assertion `0' failed in subselect_hash_sj_engine::init 2016-02-10 04:00:08 +02:00
opt_subselect.h MDEV-7474: Semi-Join's DuplicateWeedout strategy skipped ... 2015-03-17 13:26:33 +03:00
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 Bug#25092566: CREATE TABLE WITH DATA DIRECTORY CLAUSE DOES NOT REQUIRE SPECIAL 2016-11-25 14:55:01 +05:30
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 5.2 merge 2014-03-16 21:03:01 +01:00
protocol.cc MDEV-5138 Numerous test failures in "mtr --ps --embedded". 2014-04-15 18:08:33 +05:00
protocol.h MDEV-5138 Numerous test failures in "mtr --ps --embedded". 2014-04-15 18:08:33 +05:00
records.cc 5.2 merge 2014-03-16 21:03:01 +01:00
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h Bug#17638477 UNINSTALL AND INSTALL SEMI-SYNC PLUGIN CAUSES SLAVES TO BREAK 2014-08-03 12:45:14 +02:00
rpl_constants.h
rpl_filter.cc MDEV-8329 MariaDB crashes when replicate_wild_ignore_table is set to NULL. 2016-12-07 14:42:08 +04:00
rpl_filter.h
rpl_handler.cc Fixed memory loss detected on P8. This can happen when we call after_flush but never call after_rollback() or after_commit(). 2015-07-25 15:15:52 +03:00
rpl_handler.h Bug#17638477 UNINSTALL AND INSTALL SEMI-SYNC PLUGIN CAUSES SLAVES TO BREAK 2014-08-03 12:45:14 +02:00
rpl_injector.cc
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_record.cc
rpl_record.h
rpl_record_old.cc
rpl_record_old.h 5.2 merge 2014-03-16 21:03:01 +01:00
rpl_reporting.cc Add va_end to make cppcheck happy 2016-01-19 14:47:41 +11:00
rpl_reporting.h
rpl_rli.cc 5.2 merge 2014-03-16 21:03:01 +01:00
rpl_rli.h 5.2 merge 2014-03-16 21:03:01 +01:00
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc MDEV-8432 Slave cannot replicate signed integer-type values with high bit set to 1 2015-07-17 00:06:27 +03:00
rpl_utility.h
scheduler.cc mysql-5.5.39 merge 2014-08-02 21:26:16 +02:00
scheduler.h MDEV-5706 MariaDB does not build on hurd-i386 2014-07-25 14:15:33 +02:00
set_var.cc 5.2 merge 2014-03-16 21:03:01 +01:00
set_var.h 5.2 merge 2014-03-16 21:03:01 +01:00
sha2.cc
signal_handler.cc Fix pointer formatting in crash handler output. 2016-12-20 12:45:48 +00:00
slave.cc Merge branch 'mysql/5.5' into 5.5 2016-06-14 13:55:28 +02:00
slave.h Merge branch 'mysql/5.5' into 5.5 2016-06-14 13:55:28 +02:00
sp.cc post-merge changes, fixes, and tests 2015-04-28 13:57:21 +02:00
sp.h
sp_cache.cc
sp_cache.h
sp_head.cc reduce code duplication a little 2016-12-22 13:02:32 +01:00
sp_head.h
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 5.2 merge 2014-03-16 21:03:01 +01:00
sql_acl.cc Bug#23303391: HANDLE_FATAL_SIGNAL (SIG=11) IN ALLOC_QUERY 2016-08-29 11:41:50 +05:30
sql_acl.h
sql_admin.cc MDEV-10424 - Assertion `ticket == __null' failed in MDL_request::set_type 2016-08-17 11:12:05 +04:00
sql_admin.h
sql_alter.cc
sql_alter.h
sql_analyse.cc
sql_analyse.h
sql_array.h 5.2 merge 2014-03-16 21:03:01 +01:00
sql_audit.cc Applying the patch to remove WL#7219 which was by mistake included by the dev team. 2014-09-05 08:37:21 +02:00
sql_audit.h
sql_base.cc MDEV-11706 Assertion `is_stat_field || !table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || (table->vcol_set && bitmap_is_set(table->vcol_set, field_index)))' failed in Field_time::store_TIME_with_warning 2017-01-11 20:24:40 +01:00
sql_base.h
sql_binlog.cc
sql_binlog.h
sql_bitmap.h 5.2 merge 2014-03-16 21:03:01 +01:00
sql_builtin.cc.in
sql_cache.cc Bug#18487951 - QUERY_CACHE_MIN_RES_UNIT SET TO ZERO, CRASHES IN QUERY_CACHE::FIND_BIN 2015-07-02 15:31:55 +05:30
sql_cache.h
sql_callback.h
sql_class.cc bugfix: cmp_item_row::alloc_comparators() allocated on the wrong arena 2017-01-15 00:11:50 +01:00
sql_class.h bugfix: cmp_item_row::alloc_comparators() allocated on the wrong arena 2017-01-15 00:11:50 +01:00
sql_client.cc
sql_connect.cc add an assert 2016-12-22 12:49:37 +01:00
sql_connect.h
sql_const.h MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
sql_crypt.cc
sql_crypt.h
sql_cursor.cc
sql_cursor.h
sql_db.cc Merge remote-tracking branch 'mysql/5.5' into bb-5.5-merge @ mysql-5.5.42 2015-02-11 23:50:40 +01:00
sql_db.h
sql_delete.cc MDEV-11706 Assertion `is_stat_field || !table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || (table->vcol_set && bitmap_is_set(table->vcol_set, field_index)))' failed in Field_time::store_TIME_with_warning 2017-01-11 20:24:40 +01:00
sql_delete.h
sql_derived.cc Fixed bug mdev-11161. 2016-11-11 20:55:25 -08:00
sql_derived.h
sql_do.cc
sql_do.h
sql_error.cc
sql_error.h Merge 5.3->5.5 2014-06-04 21:53:15 +04:00
sql_expression_cache.cc
sql_expression_cache.h
sql_handler.cc Merge remote-tracking branch 'mysql/5.5' into 5.5 2015-10-08 22:54:24 +02:00
sql_handler.h Merge remote-tracking branch 'mysql/5.5' into 5.5 2015-10-08 22:54:24 +02:00
sql_help.cc
sql_help.h
sql_hset.h
sql_insert.cc MDEV-10365 - Race condition in error handling of INSERT DELAYED 2016-08-04 10:55:59 +04:00
sql_insert.h
sql_join_cache.cc 5.3 merge 2014-09-12 16:51:41 +02:00
sql_join_cache.h
sql_lex.cc MDEV-10148: Database crashes in the query to the View 2016-12-19 17:57:43 +03:00
sql_lex.h Merge branch 'mysql/5.5' into 5.5 2016-02-09 11:27:40 +01:00
sql_lifo_buffer.h
sql_list.cc
sql_list.h
sql_load.cc Merge branch 'mysql/5.5' into 5.5 2016-12-22 12:49:06 +01:00
sql_load.h
sql_locale.cc MDEV-9928 LC_TIME_NAMES=de_AT; unusual name for february 2016-04-19 11:27:00 +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 reduce code duplication a little 2016-12-22 13:02:32 +01:00
sql_parse.h reduce code duplication a little 2016-12-22 13:02:32 +01:00
sql_partition.cc BUG#16613004 PARTITIONING DDL, CRASH IN FIELD_VARSTRING::CMP_MAX 2015-07-08 10:00:53 +05:30
sql_partition.h
sql_partition_admin.cc MDEV-6500: Stale data returned after TRUNCATE PARTITION operation 2015-06-04 18:04:31 +03:00
sql_partition_admin.h
sql_plist.h
sql_plugin.cc MDEV-10441 Document the server_audit_loc_info variable 2016-09-26 17:48:08 +02:00
sql_plugin.h MDEV-10010 - potential deadlock on windows due to recursive 2016-08-03 13:42:46 +00:00
sql_plugin_compat.h
sql_plugin_services.h
sql_prepare.cc Merge branch 'mysql/5.5' into 5.5 2015-12-09 10:00:49 +01:00
sql_prepare.h
sql_priv.h mysql-5.5.40 2014-10-06 19:53:55 +02:00
sql_profile.cc
sql_profile.h
sql_reload.cc Merge branch 'mysql/5.5' into 5.5 2016-06-14 13:55:28 +02:00
sql_reload.h
sql_rename.cc
sql_rename.h
sql_repl.cc Bug#19553099 EXPIRE_LOGS_DAYS=1 CRASH MYSQLD DURING RESTART, DBUG_SYNC(NULL, ...) 2014-10-02 15:58:02 +02:00
sql_repl.h
sql_select.cc Fixed bug mdev-10705. 2017-01-05 13:54:31 -08:00
sql_select.h MDEV-10172: UNION query returns incorrect rows outside conditional evaluation 2016-12-20 11:25:47 +01:00
sql_servers.cc MDEV-8224 Server crashes in get_server_from_table_to_cache on empty name 2015-06-03 17:11:07 +02:00
sql_servers.h
sql_show.cc MDEV-10010 - potential deadlock on windows due to recursive 2016-08-03 13:42:46 +00:00
sql_show.h Merge branch 'mysql/5.5' into 5.5 2016-02-09 11:27:40 +01:00
sql_signal.cc
sql_signal.h
sql_sort.h 5.2 merge 2014-03-16 21:03:01 +01:00
sql_state.c mysql-5.5.37 selective merge 2014-03-27 22:26:58 +01:00
sql_string.cc Merge branch 'mysql-5.1' into mysql-5.5 2015-07-10 07:54:55 +05:30
sql_string.h Merge branch 'mysql-5.1' into mysql-5.5 2015-07-10 07:54:55 +05:30
sql_table.cc MDEV-11527 Virtual columns do not get along well with NO_ZERO_DATE 2017-01-12 13:54:21 +01:00
sql_table.h mysql-5.5.39 merge 2014-08-02 21:26:16 +02:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc Simple cleanups 2015-06-25 23:34:54 +03:00
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 MDEV-11706 Assertion `is_stat_field || !table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || (table->vcol_set && bitmap_is_set(table->vcol_set, field_index)))' failed in Field_time::store_TIME_with_warning 2017-01-11 20:24:40 +01:00
sql_trigger.h
sql_truncate.cc Merge remote-tracking branch 'mysql/5.5' into 5.5 2015-04-27 21:04:06 +02:00
sql_truncate.h Bug#17942050:KILL OF TRUNCATE TABLE WILL LEAD TO BINARY LOG 2014-04-15 15:17:25 +05:30
sql_udf.cc reduce code duplication a little 2016-12-22 13:02:32 +01:00
sql_udf.h small cleanup: udf_init()/udf_free() calls 2015-12-08 09:46:52 +01:00
sql_union.cc MDEV-9304: MariaDB crash with specific query 2016-08-08 17:43:06 +03:00
sql_union.h
sql_update.cc MDEV-11706 Assertion `is_stat_field || !table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || (table->vcol_set && bitmap_is_set(table->vcol_set, field_index)))' failed in Field_time::store_TIME_with_warning 2017-01-11 20:24:40 +01:00
sql_update.h MDEV-8701 Crash on derived query 2015-11-06 17:56:56 +01:00
sql_view.cc MDEV-9462: Out of memory using explain on 2 empty tables 2016-02-06 13:36:17 +01:00
sql_view.h MDEV-6916 REPAIR VIEW / mysql migration 2015-04-12 20:41:28 +10:00
sql_yacc.yy reduce code duplication a little 2016-12-22 13:02:32 +01:00
strfunc.cc
strfunc.h
structs.h MDEV-6838: Using too big key for internal temp tables 2015-02-28 23:58:05 +02:00
sys_vars.cc add an assert 2016-12-22 12:49:37 +01:00
sys_vars.h MDEV-11685: sql_mode can't be set with non-ascii connection charset 2017-01-11 09:08:17 -05:00
sys_vars_shared.h
table.cc bugfix: cmp_item_row::alloc_comparators() allocated on the wrong arena 2017-01-15 00:11:50 +01:00
table.h MDEV-11706 Assertion `is_stat_field || !table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || (table->vcol_set && bitmap_is_set(table->vcol_set, field_index)))' failed in Field_time::store_TIME_with_warning 2017-01-11 20:24:40 +01:00
thr_malloc.cc
thr_malloc.h
threadpool.h
threadpool_common.cc
threadpool_unix.cc MDEV-10218 - rpl.rpl_binlog_errors fails in buildbot with valgrind warnings - 2016-06-13 16:05:45 +04:00
threadpool_win.cc
transaction.cc
transaction.h
tzfile.h
tztime.cc MDEV-6236 - [PATCH] mysql_tzinfo_to_sql may produce invalid SQL 2015-06-05 10:44:10 +04:00
tztime.h
udf_example.c Merge remote-tracking branch 'mysql/5.5' into bb-5.5-merge @ mysql-5.5.42 2015-02-11 23:50:40 +01:00
udf_example.def
uniques.cc Fix failing test cases for MDEV-7912 patch 2015-04-29 14:16:03 +03:00
unireg.cc
unireg.h
winservice.c
winservice.h CRLF->LF 2015-06-02 22:07:47 +02:00