mariadb/sql
Alexander Barkov 74891ed257 MDEV-11514, MDEV-11497, MDEV-11554, MDEV-11555 - IN and CASE type aggregation problems
This patch fixes a number of data type aggregation problems in IN and CASE:
- MDEV-11497 Wrong result for (int_expr IN (mixture of signed and unsigned expressions))
- MDEV-11514 IN with a mixture of TIME and DATETIME returns a wrong result
- MDEV-11554 Wrong result for CASE on a mixture of signed and unsigned expressions
- MDEV-11555 CASE with a mixture of TIME and DATETIME returns a wrong result

1. The problem reported in MDEV-11514 and MDEV-11555 was in the wrong assumption
that items having the same cmp_type() can reuse the same cmp_item instance.
So Item_func_case and Item_func_in used a static array of cmp_item*,
one element per one XXX_RESULT.

TIME and DATETIME cannot reuse the same cmp_item, because arguments of
these types are compared very differently. TIME and DATETIME must have
different instances in the cmp_item array. Reusing the same cmp_item
for TIME and DATETIME leads to unexpected result and unexpected warnings.

Note, after adding more data types soon (e.g. INET6), the problem would
become more serious, as INET6 will most likely have STRING_RESULT, but
it won't be able to reuse the same cmp_item with VARCHAR/TEXT.

This patch introduces a new class Predicant_to_list_comparator,
which maintains an array of cmp_items, one element per distinct
Type_handler rather than one element per XXX_RESULT.

2. The problem reported in MDEV-11497 and MDEV-11554 happened because
Item_func_in and Item_func_case did not take into account the fact
that UNSIGNED and SIGNED values must be compared as DECIMAL rather than INT,
because they used item_cmp_type() to aggregate the arguments.
The relevant code now resides in Predicant_to_list_comparator::add_value()
and uses Type_handler_hybrid_field_type::aggregate_for_comparison(),
like Item_func_between does.
2016-12-17 23:35:12 +04:00
..
share MDEV-11470 JSON_KEYS accepts arguments in invalid format. 2016-12-13 12:39:48 +04:00
add_errmsg
authors.h MDEV-6821, MDEV-6826 - Update authors and contributors 2016-02-04 16:00:11 +02:00
bounded_queue.h Fixed compiler failures and warnings 2016-03-20 21:00:58 +02:00
client_settings.h Merge branch '10.1' into 10.2 2016-02-25 18:19:55 +01:00
CMakeLists.txt MDEV-9143 JSON_xxx functions. 2016-10-19 14:10:03 +04:00
compat56.cc Adding support for MySQL-5.6 temporal column types: 2013-07-10 11:49:17 +04:00
compat56.h Adding support for MySQL-5.6 temporal column types: 2013-07-10 11:49:17 +04:00
contributors.h Update contributors 2016-07-27 15:29:32 +02:00
create_options.cc Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
create_options.h MDEV-9949 Connect Engine: long SRCDEF leads to broken table 2016-05-05 01:05:05 +02:00
custom_conf.h Updated/added copyright headers 2014-01-06 10:52:35 +05:30
datadict.cc Merge branch '10.0' into bb-10.1-merge 2014-12-02 22:25:16 +01:00
datadict.h remove dd_frm_type(), dd_frm_storage_engine(), dd_check_storage_engine_flag() 2013-04-09 15:50:30 +02:00
debug_sync.cc MDEV-6353 my_ismbchar() and my_mbcharlen() refactoring 2016-05-17 15:27:10 +04:00
debug_sync.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
derror.cc Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
derror.h Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
des_key_file.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
des_key_file.h
discover.cc fix extension_based_table_discovery for partitioned tables 2016-03-21 11:43:19 +01:00
discover.h 10.0-monty merge 2013-07-21 16:39:19 +02:00
encryption.cc MDEV-9618 solaris sparc build fails on 10.1. 2016-05-04 11:42:39 +04:00
event_data_objects.cc - Renaming variables so that they don't shadow others (After this patch one can compile with -Wshadow and get much fewer warnings) 2015-07-06 20:24:14 +03:00
event_data_objects.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
event_db_repository.cc Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
event_db_repository.h MDEV-7281 EVENT: CREATE OR REPLACE 2015-02-27 13:34:18 +04:00
event_parse_data.cc - Renaming variables so that they don't shadow others (After this patch one can compile with -Wshadow and get much fewer warnings) 2015-07-06 20:24:14 +03:00
event_parse_data.h compiler warnings 2014-10-01 23:38:26 +02:00
event_queue.cc Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02: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 10.0-base merge 2014-02-26 15:28:07 +01:00
events.cc Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
events.h Merge branch '10.0' into 10.1 2015-11-19 15:52:14 +01:00
field.cc Moving LEX::set_last_field_type() to Column_definition::set_attributes() 2016-12-16 18:33:57 +04:00
field.h Moving LEX::set_last_field_type() to Column_definition::set_attributes() 2016-12-16 18:33:57 +04:00
field_conv.cc MDEV-7769 MY_CHARSET_INFO refactoring# On branch 10.2 2016-10-10 14:36:09 +04:00
filesort.cc MDEV-10811 Change design from "Item is Type_handler" to "Item has Type_handler" 2016-12-16 17:31:40 +04:00
filesort.h MDEV-8989 ORDER BY optimizer ignores equality propagation 2016-07-01 16:44:17 +02:00
filesort_utils.cc Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
filesort_utils.h Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
gcalc_slicescan.cc Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +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 Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +01:00
gcalc_tools.h MDEV-7925 Inconsistent behavior of ST_Touches with a POINT as one of arguments. 2015-06-22 23:33:35 +05:00
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 Merge branch '10.0' into 10.1 2015-09-03 12:58:41 +02:00
group_by_handler.cc cleanups and simplifications 2015-10-05 17:14:15 +02:00
group_by_handler.h remove unused group_by_handler::init() method 2015-10-05 17:14:16 +02:00
gstream.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
gstream.h 5.2 merge 2014-03-16 21:03:01 +01:00
ha_partition.cc bugfix: partitioning and keyread on an indexed vcol 2016-12-12 20:35:50 +01:00
ha_partition.h cleanup: extra_rec_buf_length 2016-12-12 20:27:28 +01:00
handler.cc MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
handler.h cleanup: remove unused handler table flag 2016-12-12 20:44:46 +01:00
hash_filo.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
hash_filo.h List<>-style template wrapper over hash_filo 2014-03-19 09:57:09 +01:00
hostname.cc MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
hostname.h MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
init.cc MDEV-8378 - Debian: the Lintian complains about many "shlib-calls-exit" in many 2015-12-16 19:39:00 +04:00
init.h
innodb_priv.h move userstat tables to a plugin 2014-10-11 18:53:05 +02:00
item.cc MDEV-11558 Split Item_type_holder::display_length into virtual methods in Type_handler 2016-12-17 21:10:59 +04:00
item.h MDEV-11514, MDEV-11497, MDEV-11554, MDEV-11555 - IN and CASE type aggregation problems 2016-12-17 23:35:12 +04:00
item_buff.cc Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
item_cmpfunc.cc MDEV-11514, MDEV-11497, MDEV-11554, MDEV-11555 - IN and CASE type aggregation problems 2016-12-17 23:35:12 +04:00
item_cmpfunc.h MDEV-11514, MDEV-11497, MDEV-11554, MDEV-11555 - IN and CASE type aggregation problems 2016-12-17 23:35:12 +04:00
item_create.cc cleanup: old (harmless?) typo fixed 2016-12-12 20:27:28 +01:00
item_create.h Moving Item::str_value from public to protected. 2014-09-03 01:56:21 +04:00
item_func.cc MDEV-11330 Split Item_func_hybrid_field_type::val_xxx() into methods in Type_handler 2016-12-16 18:33:57 +04:00
item_func.h MDEV-11330 Split Item_func_hybrid_field_type::val_xxx() into methods in Type_handler 2016-12-16 18:33:57 +04:00
item_geofunc.cc Partial backporting of 7b50447aa6 2016-07-03 11:20:46 +04:00
item_geofunc.h bugfix: Item_func_spatial_collection::print() 2016-12-12 20:27:23 +01:00
item_inetfunc.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
item_inetfunc.h Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server 2016-08-31 16:16:54 -07:00
item_jsonfunc.cc MDEV-11572 JSON_DEPTH returns wrong results. 2016-12-16 14:06:12 +04:00
item_jsonfunc.h MDEV-11453 JSON_CONTAINS returns incorrect values. 2016-12-11 01:12:33 +04:00
item_row.cc Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server 2016-08-31 16:16:54 -07:00
item_row.h MDEV-11344 Split Arg_comparator::set_compare_func() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
item_strfunc.cc MDEV-11298 Split Item_func_hex::val_str_ascii() into virtual methods in Type_handler 2016-12-16 18:33:54 +04:00
item_strfunc.h MDEV-11298 Split Item_func_hex::val_str_ascii() into virtual methods in Type_handler 2016-12-16 18:33:54 +04:00
item_subselect.cc MDEV-11357 Split Item_cache::get_cache() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
item_subselect.h MDEV-11357 Split Item_cache::get_cache() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
item_sum.cc MDEV-11365 Split the data type and attribute related code in Item_sum_hybrid::fix_fields into Type_handler::Item_sum_hybrid_fix_length_and_dec() 2016-12-16 18:23:21 +04:00
item_sum.h MDEV-11365 Split the data type and attribute related code in Item_sum_hybrid::fix_fields into Type_handler::Item_sum_hybrid_fix_length_and_dec() 2016-12-16 18:23:21 +04:00
item_timefunc.cc Item::print(): remove redundant parentheses 2016-12-12 20:44:41 +01:00
item_timefunc.h MDEV-11337 Split Item::save_in_field() into virtual methods in Type_handler 2016-12-16 18:23:20 +04:00
item_windowfunc.cc MDEV-11357 Split Item_cache::get_cache() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
item_windowfunc.h Fixed bug mdev-10868. 2016-09-30 17:40:40 -07:00
item_xmlfunc.cc MDEV-9143 JSON_xxx functions. 2016-10-19 14:10:03 +04:00
item_xmlfunc.h MDEV-9143 JSON_xxx functions. 2016-10-19 14:10:03 +04:00
key.cc MDEV-8360 Clean-up CHARSET_INFO: strnncollsp: diff_if_only_endspace_difference 2016-03-31 11:04:48 +04:00
key.h 10.0-base merge 2014-02-26 15:28:07 +01:00
keycaches.cc Merge 10.0-galera into 10.1 2015-02-06 16:14:23 +01:00
keycaches.h cleanup: more 'const' qualifiers 2014-10-10 22:27:41 +02:00
lex.h cleanup: parser: s/USER/USER_SYM/ 2016-12-12 20:27:26 +01:00
lex_symbol.h Updated/added copyright headers 2014-01-06 10:52:35 +05:30
lock.cc cleanup: unused open_table_from_share() flags 2016-12-12 20:27:30 +01:00
lock.h MDEV-7004 - Merge scalability fixes from 10.0-power 2014-12-05 11:01:49 +04:00
log.cc cleanup: my_printf_error(ER_xxx, ER(ER_xxx), ... ) 2016-12-12 20:27:28 +01:00
log.h Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
log_event.cc cleanup: my_printf_error(ER_xxx, ER(ER_xxx), ... ) 2016-12-12 20:27:28 +01:00
log_event.h two fix: 2016-10-29 21:59:20 +08:00
log_event_old.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
log_event_old.h Remove THD argment from Log_event->net_send() and Protocol::pack_info() as 2015-10-22 17:00:58 +03:00
log_slow.h Add parenthesis in macro definitions to prevent order of operation problems. 2015-07-16 16:03:06 -07:00
main.cc
mdl.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
mdl.h MDEV-8791 - AIX: Unresolved Symbols during linking 2016-10-31 12:18:23 +04:00
mem_root_array.h MDEV-9764: MariaDB does not limit memory used for range optimization 2016-05-31 17:59:04 +03:00
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 MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
mf_iocache_encr.cc make encrypt-binlog and encrypt-tmp-files to fail if no encryption 2015-09-09 14:22:22 +02:00
MSG00001.bin
multi_range_read.cc Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
multi_range_read.h Merge 2014-10-29 15:20:46 +03:00
my_apc.cc Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
my_apc.h MDEV-8030 - Apc_target::disable() locks mutex twice 2015-06-23 09:54:36 +04:00
my_decimal.cc Adding "const" qualifier to arguments of date2my_decimal() 2015-10-22 09:11:23 +04:00
my_decimal.h Adding "const" qualifier to arguments of date2my_decimal() 2015-10-22 09:11:23 +04:00
my_json_writer.cc MDEV-10665: Json_writer produces extra members in output 2016-08-25 19:47:38 +03:00
my_json_writer.h MDEV-7836: ANALYZE FORMAT=JSON should provide info about GROUP/ORDER BY 2015-04-12 04:48:42 +03:00
mysql_install_db.cc Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
mysql_upgrade_service.cc
mysqld.cc MDEV-11344 Split Arg_comparator::set_compare_func() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
mysqld.h store/show vcols as item->print() 2016-12-12 20:35:41 +01:00
mysqld_suffix.h Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
net_serv.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
nt_servc.cc Do not use SECONDS_IN_24H in nt_servc.cc. 2014-03-07 10:34:07 +04:00
nt_servc.h
opt_index_cond_pushdown.cc MDEV-6152: Remove calls to current_thd while creating Item 2015-08-27 22:21:08 +03:00
opt_range.cc MDEV-11518 Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed in Field_long::val_int() 2016-12-12 20:44:46 +01:00
opt_range.h Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
opt_range_mrr.cc MDEV-10325: Queries examines all rows of a tables when it should not 2016-07-12 21:49:16 +03:00
opt_subselect.cc MDEV-11357 Split Item_cache::get_cache() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
opt_subselect.h Merge branch '10.0' into 10.1 2015-09-03 12:58:41 +02:00
opt_sum.cc Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
opt_table_elimination.cc cleanup: change Item::walk() to take void* not uchar* 2016-06-30 11:43:02 +02:00
parse_file.cc General spell fixing in comments and strings 2016-06-08 14:17:23 +03:00
parse_file.h MDEV-7671: Cache VIEW definitions in the TDC 2015-03-11 17:39:15 +01:00
partition_element.h MDEV-8348: Add catchall to all table partitioning for list partitions 2016-09-07 17:26:36 +02:00
partition_info.cc cleanup: remove dead (half-merged) code from partition_info.* 2016-12-12 20:27:27 +01:00
partition_info.h cleanup: remove dead (half-merged) code from partition_info.* 2016-12-12 20:27:27 +01:00
password.c MDEV-6153 Trivial Lintian errors in MariaDB sources: spelling errors and wrong executable bits 2014-05-13 11:53:30 +02:00
plistsort.c
procedure.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
procedure.h Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server 2016-08-31 16:16:54 -07:00
protocol.cc MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
protocol.h MDEV-9947: COM_MULTI united response 2016-05-17 13:31:33 +02:00
records.cc cleanup: don't update_virtual_fields from READ_RECORD 2016-12-12 20:27:31 +01:00
records.h Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
repl_failsafe.cc MDEV-6152: Remove calls to current_thd while creating Item 2015-08-27 22:21:08 +03:00
repl_failsafe.h Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
replication.h MDEV-162 Enhanced semisync replication 2014-12-23 14:16:32 +01:00
rpl_constants.h MDEV-8264 encryption for binlog 2015-09-04 10:33:55 +02:00
rpl_filter.cc MDEV-6676: Optimistic parallel replication 2015-02-07 09:42:58 +01:00
rpl_filter.h MDEV-6676: Optimistic parallel replication 2015-02-07 09:42:58 +01:00
rpl_gtid.cc Fixed compiler warnings and test failures found by buildbot 2016-06-24 02:25:14 +03:00
rpl_gtid.h Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
rpl_handler.cc Merge branch '10.0' into 10.1 2015-09-03 12:58:41 +02:00
rpl_handler.h MDEV-162 Enhanced semisync replication 2014-12-23 14:16:32 +01:00
rpl_injector.cc Merge branch '10.0' into 10.1 2015-11-19 15:52:14 +01:00
rpl_injector.h Merge branch '10.1' of github.com:MariaDB/server into 10.1 2015-07-09 14:47:32 +03:00
rpl_mi.cc MDEV-7145: Delayed replication, cleanup some code 2016-10-14 23:15:59 +02:00
rpl_mi.h Merge branch '10.0' into 10.1 2016-01-25 22:58:57 +01:00
rpl_parallel.cc MDEV-11065: Compressed binary log 2016-10-20 18:00:59 +02:00
rpl_parallel.h Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
rpl_record.cc Merge branch '10.0' into 10.0-galera 2016-04-29 16:50:58 -04:00
rpl_record.h 5.5 merge 2014-02-25 16:04:35 +01:00
rpl_record_old.cc remove unneded #include's that had a dubious explanation 2015-10-24 19:58:34 +02:00
rpl_record_old.h 5.2 merge 2014-03-16 21:03:01 +01:00
rpl_reporting.cc Merge branch '5.5' into 10.0 2016-02-15 22:50:59 +01:00
rpl_reporting.h MDEV-6120: When slave stops with error, error message should indicate the failing GTID 2014-06-25 15:17:03 +02:00
rpl_rli.cc Binlog compressed 2016-10-19 20:20:35 +02:00
rpl_rli.h MDEV-7145: Delayed replication 2016-10-16 23:44:44 +02:00
rpl_tblmap.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
rpl_tblmap.h Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
rpl_utility.cc Merge branch '10.1' into 10.2 2016-02-25 18:19:55 +01:00
rpl_utility.h MDEV-6120: When slave stops with error, error message should indicate the failing GTID 2014-06-25 15:17:03 +02:00
scheduler.cc cleanup: thread_count 2016-06-04 09:06:00 +02:00
scheduler.h MDEV-6150 Speed up connection speed by moving creation of THD to new thread 2016-02-07 10:34:03 +02:00
session_tracker.cc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
session_tracker.h MDEV-8931: (server part of) session state tracking 2016-08-31 17:17:46 +02:00
set_var.cc MDEV-8931: (server part of) session state tracking 2016-08-31 17:17:46 +02:00
set_var.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sha2.cc
signal_handler.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
slave.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
slave.h Control the Maximum speed(KB/s) to read binlog from master 2016-10-19 13:51:08 +02:00
sp.cc Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sp.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sp_cache.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
sp_cache.h mysql-5.1.73 merge 2014-03-15 18:24:15 +01:00
sp_head.cc MDEV-11245 Move prepare_create_field and sp_prepare_create_field() as methods to Column_definition 2016-12-16 18:23:16 +04:00
sp_head.h MDEV-11245 Move prepare_create_field and sp_prepare_create_field() as methods to Column_definition 2016-12-16 18:23:16 +04:00
sp_pcontext.cc A joint patch for: 2015-11-25 11:22:10 +04:00
sp_pcontext.h Removing sp_variable::type, as it was always set to the same value with 2015-11-26 15:04:55 +04:00
sp_rcontext.cc MDEV-11357 Split Item_cache::get_cache() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
sp_rcontext.h MDEV-7943 - pthread_getspecific() takes 0.76% in OLTP RO 2015-05-13 15:56:56 +04:00
spatial.cc Merge branch '10.0' into bb-10.1-merge 2014-12-02 22:25:16 +01:00
spatial.h General spell fixing in comments and strings 2016-06-08 14:17:23 +03:00
sql_acl.cc MDEV-7769 MY_CHARSET_INFO refactoring# On branch 10.2 2016-10-10 14:36:09 +04:00
sql_acl.h [MDEV-7978] Updated syntax for SHOW CREATE USER 2016-03-08 16:55:17 +02:00
sql_admin.cc MDEV-7901: re-implement analyze table for low impact 2016-08-03 21:37:19 +02:00
sql_admin.h MDEV-8450: PATCH] Wrong macro expansion in Query_cache::send_result_to_client() 2015-09-06 22:26:33 +02:00
sql_alter.cc various cleanups 2016-06-30 11:43:02 +02:00
sql_alter.h MDEV-10421 duplicate CHECK CONSTRAINTs. 2016-09-06 14:42:33 +04:00
sql_analyse.cc MDEV-10138 Support for decimals up to 38 digits 2016-06-22 22:04:55 +03:00
sql_analyse.h MDEV-8010 - Avoid sql_alloc() in Items (Patch #1) 2015-08-21 10:40:39 +04:00
sql_analyze_stmt.cc Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
sql_analyze_stmt.h Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
sql_array.h Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
sql_audit.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
sql_audit.h fix most annoying warnings on Windows 2016-03-22 18:46:02 +01:00
sql_base.cc rename Virtual_column_info::expr_item 2016-12-12 20:35:48 +01:00
sql_base.h cleanup: remove now-unused TABLE::merge_keys 2016-12-12 20:27:37 +01:00
sql_basic_types.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_binlog.cc MDEV-11065: Compressed binary log. Fix BINLOG statement. 2016-11-03 13:37:15 +01:00
sql_binlog.h
sql_bitmap.h MDEV-9021: MYSQLD SEGFAULTS WHEN BUILT USING --WITH-MAX-INDEXES=128 2015-11-09 09:28:00 -05:00
sql_bootstrap.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
sql_bootstrap.h
sql_builtin.cc.in Push forgotten file change to fix compiler errors. 2015-02-19 12:41:10 +02:00
sql_cache.cc Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_cache.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_callback.h
sql_class.cc MDEV-11357 Split Item_cache::get_cache() into virtual methods in Type_handler 2016-12-16 18:23:21 +04:00
sql_class.h MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
sql_client.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
sql_cmd.h MDEV-10585 EXECUTE IMMEDIATE statement 2016-10-08 12:32:52 +04:00
sql_connect.cc Revert "MDEV-9293 Connector/C integration" 2016-08-19 15:46:27 +00:00
sql_connect.h Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_const.h MDEV-7563 Support CHECK constraint as in (or close to) SQL Standard 2016-06-30 11:43:02 +02:00
sql_crypt.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
sql_crypt.h Applied all changes from Igor and Sanja 2013-06-15 18:32:08 +03:00
sql_cte.cc Fixed bug mdev-11278. 2016-11-13 14:56:29 -08:00
sql_cte.h Fixed bug mdev-10883. 2016-09-24 21:05:36 -07:00
sql_cursor.cc Fixed bug mdev-11081. 2016-11-21 10:33:39 -08:00
sql_cursor.h Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
sql_db.cc MDEV-8931: (server part of) session state tracking 2016-08-31 17:17:46 +02:00
sql_db.h MDEV-7280 DATABASE: CREATE OR REPLACE 2014-12-10 08:13:08 +04:00
sql_delete.cc bugfix: multi-UPDATE, vcols, const tables 2016-12-12 20:27:38 +01:00
sql_delete.h MWL#205 DELETE with result set (mdev-3814) 2013-08-06 13:31:38 -07:00
sql_derived.cc Fixed bug mdev-11313. 2016-11-26 21:23:39 -08:00
sql_derived.h The consolidated patch for mdev-9197. 2016-08-23 00:39:12 +03:00
sql_digest.cc Merge branch '10.0' into 10.1 2015-09-03 12:58:41 +02:00
sql_digest.h merge commit 02b00b154 2015-10-24 20:06:59 +02:00
sql_digest_stream.h perfschema 5.6.24 2015-05-05 15:23:47 +02:00
sql_do.cc Merge branch '10.2' into 10.2-mdev9864 2016-05-08 23:04:41 +03:00
sql_do.h
sql_error.cc MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
sql_error.h MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
sql_explain.cc MDEV-10372: EXPLAIN fixes for recursive CTEs, including FORMAT=JSON 2016-08-08 23:02:52 +03:00
sql_explain.h MDEV-10372: EXPLAIN fixes for recursive CTEs, including FORMAT=JSON 2016-08-08 23:02:52 +03:00
sql_expression_cache.cc Stage 2 of MDEV-6152: 2015-08-21 10:40:51 +04:00
sql_expression_cache.h MDEV-7811: EXPLAIN/ANALYZE FORMAT=JSON should show subquery cache 2015-07-01 20:03:29 +03:00
sql_get_diagnostics.cc Stage 2 of MDEV-6152: 2015-08-21 10:40:51 +04:00
sql_get_diagnostics.h Applied all changes from Igor and Sanja 2013-06-15 18:32:08 +03:00
sql_handler.cc bugfix: move vcol calculations down into the handler 2016-12-12 20:27:38 +01: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 Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_help.h
sql_hset.h find() method for Hash_set<>. 2013-10-18 12:36:03 -07:00
sql_insert.cc cleanup: remove unused handler table flag 2016-12-12 20:44:46 +01:00
sql_insert.h bugfix: UPDATE and virtual BLOBs 2016-12-12 20:27:38 +01:00
sql_join_cache.cc bugfix: move vcol calculations down into the handler 2016-12-12 20:27:38 +01:00
sql_join_cache.h MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
sql_lex.cc bugfix: remove broken insert t values () optimization 2016-12-12 20:27:39 +01:00
sql_lex.h Moving LEX::set_last_field_type() to Column_definition::set_attributes() 2016-12-16 18:33:57 +04:00
sql_lifo_buffer.h 5.3 merge 2014-02-22 22:51:20 +01:00
sql_list.cc Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
sql_list.h fix the method name 2016-06-04 09:06:00 +02:00
sql_load.cc bugfix: remove broken insert t values () optimization 2016-12-12 20:27:39 +01:00
sql_load.h
sql_locale.cc Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
sql_locale.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
sql_manager.cc remove unneded #include's that had a dubious explanation 2015-10-24 19:58:34 +02:00
sql_manager.h
sql_parse.cc MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
sql_parse.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
sql_partition.cc bugfix: table->get_fields_in_item_tree=true 2016-12-12 20:27:39 +01:00
sql_partition.h cleanup: set_field_ptr() 2016-12-12 20:27:33 +01:00
sql_partition_admin.cc MDEV-5535: Cannot reopen temporary table 2016-06-10 18:39:43 -04:00
sql_partition_admin.h Applied all changes from Igor and Sanja 2013-06-15 18:32:08 +03:00
sql_plist.h merge 10-base->10.0 2013-11-11 23:40:53 +02:00
sql_plugin.cc init plugin psi keys before LOCK_plugin 2016-11-07 22:45:46 -05:00
sql_plugin.h MDEV-9312: storage engine not enforced during galera cluster replication 2016-11-07 11:53:56 -05:00
sql_plugin_compat.h strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
sql_plugin_services.ic Fix to ensure updates in gtid_slave_state table do not get binlogged. 2016-02-24 23:32:37 -05:00
sql_prepare.cc MDEV-11359 Implement IGNORE for bulk operation 2016-11-29 08:29:46 +01:00
sql_prepare.h MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
sql_priv.h MDEV-10174: Make the fix for MDEV-8989 enabled by default in 10.2 2016-09-24 15:27:56 +03:00
sql_profile.cc Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_profile.h Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_reload.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
sql_reload.h MySQL WL#5522 - InnoDB transportable tablespaces. 2014-02-02 10:06:29 +01:00
sql_rename.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
sql_rename.h test_sql_discovery storage engine 2013-04-09 16:07:35 +02:00
sql_repl.cc Binlog compressed 2016-10-19 20:20:35 +02:00
sql_repl.h Set server_id to 1 by default and disallow to set it to 0 2016-08-29 20:28:06 +03:00
sql_select.cc bugfix: multi-UPDATE, vcols, const tables 2016-12-12 20:27:38 +01:00
sql_select.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_servers.cc Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_servers.h cleanup: freshen up CREATE SERVER code 2014-12-04 10:41:51 +01:00
sql_show.cc MDEV-11066 use MySQL terminology for "virtual columns" 2016-12-12 20:35:51 +01:00
sql_show.h MDEV-8931: (server part of) session state tracking 2016-08-31 17:17:46 +02:00
sql_signal.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
sql_signal.h Finished merging wl5986 started by Igor. 2013-06-19 14:32:14 +03:00
sql_sort.h Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
sql_state.c mysql-5.5.37 selective merge 2014-03-27 22:26:58 +01:00
sql_statistics.cc cleanup: avoid Field::field_index 2016-12-12 20:27:29 +01:00
sql_statistics.h MDEV-6442: Assertion `join->best_read < double(...)' failed with optimizer_use_condition_selectivity >=3 2014-10-06 15:29:22 +04:00
sql_string.cc MDEV-11298 Split Item_func_hex::val_str_ascii() into virtual methods in Type_handler 2016-12-16 18:33:54 +04:00
sql_string.h MDEV-11298 Split Item_func_hex::val_str_ascii() into virtual methods in Type_handler 2016-12-16 18:33:54 +04:00
sql_table.cc MDEV-11245 Move prepare_create_field and sp_prepare_create_field() as methods to Column_definition 2016-12-16 18:23:16 +04:00
sql_table.h MDEV-11245 Move prepare_create_field and sp_prepare_create_field() as methods to Column_definition 2016-12-16 18:23:16 +04:00
sql_tablespace.cc - Renaming variables so that they don't shadow others (After this patch one can compile with -Wshadow and get much fewer warnings) 2015-07-06 20:24:14 +03:00
sql_tablespace.h
sql_test.cc compilation warning 2016-06-30 11:43:02 +02:00
sql_test.h MDEV-9220 Split filesort.cc:make_sortkey() and filesort.cc::sortlength() into virtual methods in Type_handler 2016-01-12 17:03:29 +04:00
sql_time.cc Fixed compiler warnings and test failures found by buildbot 2016-06-24 02:25:14 +03:00
sql_time.h Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +01:00
sql_trigger.cc cleanup: remove dead (half-merged) code from partition_info.* 2016-12-12 20:27:27 +01:00
sql_trigger.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_truncate.cc Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
sql_truncate.h 5.5.38 merge 2014-06-06 00:07:27 +02:00
sql_type.cc MDEV-11514, MDEV-11497, MDEV-11554, MDEV-11555 - IN and CASE type aggregation problems 2016-12-17 23:35:12 +04:00
sql_type.h MDEV-11514, MDEV-11497, MDEV-11554, MDEV-11555 - IN and CASE type aggregation problems 2016-12-17 23:35:12 +04:00
sql_udf.cc Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_udf.h Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
sql_union.cc Fixed bug mdev-11081. 2016-11-21 10:33:39 -08:00
sql_union.h
sql_update.cc bugfix: UPDATE and virtual BLOBs 2016-12-12 20:27:38 +01:00
sql_update.h MDEV-8701 Crash on derived query 2015-11-06 17:56:56 +01:00
sql_view.cc Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_view.h Fixed compile errors of the merge of the patch for mdev-8789 with 10.2. 2015-12-21 12:13:39 -08:00
sql_window.cc Post-review addition to the fix for mdev-10868. 2016-09-30 17:40:42 -07:00
sql_window.h Fixed bug mdev-10868. 2016-09-30 17:40:40 -07:00
sql_yacc.yy Moving LEX::set_last_field_type() to Column_definition::set_attributes() 2016-12-16 18:33:57 +04:00
strfunc.cc MDEV-8360 Clean-up CHARSET_INFO: strnncollsp: diff_if_only_endspace_difference 2016-03-31 11:04:48 +04:00
strfunc.h Fixed issues with partitions and create temporary table SELECT ... 2013-07-03 22:50:34 +03:00
structs.h cleanup: fix a comment 2016-12-12 20:27:27 +01:00
sys_vars.cc MDEV-11065: Compressed binary log. Merge code into current 10.2. 2016-11-03 14:48:51 +01:00
sys_vars.ic Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
sys_vars_shared.h
table.cc MDEV-11146 SP variables of the SET data type erroneously allow values with comma 2016-12-16 17:31:40 +04:00
table.h MDEV-11146 SP variables of the SET data type erroneously allow values with comma 2016-12-16 17:31:40 +04:00
table_cache.cc MDEV-10296 - Multi-instance table cache 2016-09-16 19:07:59 +04:00
table_cache.h MDEV-10296 - Multi-instance table cache 2016-09-16 18:41:21 +04:00
temporary_tables.cc cleanup: unused open_table_from_share() flags 2016-12-12 20:27:30 +01:00
thr_malloc.cc MDEV-8715 - Obsolete sql_alloc() in favor of THD::alloc() and thd_alloc() 2015-11-26 11:34:17 +04:00
thr_malloc.h MDEV-8715 - Obsolete sql_alloc() in favor of THD::alloc() and thd_alloc() 2015-11-26 11:34:17 +04:00
threadpool.h MDEV-10297 Add priorization to threadpool 2016-09-22 17:01:28 +00:00
threadpool_common.cc MDEV-10297 Add priorization to threadpool 2016-09-22 17:01:28 +00:00
threadpool_generic.cc MDEV-10297 Add priorization to threadpool 2016-09-22 17:01:28 +00:00
threadpool_win.cc MDEV-10297 Add priorization to threadpool 2016-09-22 17:01:28 +00:00
transaction.cc Fixed embedded server. 2016-09-08 22:41:50 +02:00
transaction.h Fixed embedded server. 2016-09-08 22:41:50 +02:00
tzfile.h Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
tztime.cc Reuse THD for new user connections 2016-06-04 09:06:00 +02: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 Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
uniques.h Removed TABLE->sort to make it possible to have multiple active calls to 2016-03-22 23:44:52 +02:00
unireg.cc rename Virtual_column_info::expr_item 2016-12-12 20:35:48 +01:00
unireg.h cleanup: unused open_table_from_share() flags 2016-12-12 20:27:30 +01:00
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 CRLF->LF 2015-06-02 22:07:47 +02:00
wsrep_applier.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
wsrep_applier.h MDEV-9618 solaris sparc build fails on 10.1. 2016-06-27 18:02:28 +04:00
wsrep_binlog.cc Changed my_thread_id to int64 to fix compilation problem with 2016-02-08 22:34:41 +02:00
wsrep_binlog.h Merge branch '10.0-galera' into bb-10.1-serg 2016-08-25 15:39:39 -04:00
wsrep_check_opts.cc Cleanup around wsrep system variables. 2016-07-30 14:40:47 -04:00
wsrep_dummy.cc Fix to ensure updates in gtid_slave_state table do not get binlogged. 2016-02-24 23:32:37 -05:00
wsrep_hton.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
wsrep_mysqld.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
wsrep_mysqld.h Post merge fixes. 2016-08-25 21:28:26 -04:00
wsrep_notify.cc Cleanup around wsrep system variables. 2016-07-30 14:40:47 -04:00
wsrep_priv.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
wsrep_sst.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
wsrep_sst.h MDEV-10492: Assertion failure on shutdown when wsrep_sst_auth set in config 2016-08-03 13:36:12 -04:00
wsrep_thd.cc MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
wsrep_thd.h Improve performance for calculating memory allocation 2015-02-01 15:24:22 +02:00
wsrep_utils.cc MDEV-10442: "Address already in use" on restart 2016-11-21 16:20:10 -05:00
wsrep_utils.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
wsrep_var.cc MDEV-8791 - AIX: Unresolved Symbols during linking 2016-10-31 12:18:23 +04:00
wsrep_var.h Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
wsrep_xid.cc MDEV-6368: assertion xid_seqno > trx_sys_cur_xid_seqno 2016-05-31 20:37:00 -04:00
wsrep_xid.h MDEV-6368: assertion xid_seqno > trx_sys_cur_xid_seqno 2016-05-31 20:37:00 -04:00