mariadb/sql
Alexander Barkov 705fc43eaa MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION
Introducing a new class Type_holder (used internally in sql_union.cc),
to reuse exactly the same data type attribute aggregation Type_handler API
for hybrid functions and UNION.

This fixes a number of bugs in UNION:

- MDEV-9495 Wrong field type for a UNION of a signed and an unsigned INT expression
- MDEV-9497 UNION and COALESCE produce different field types for DECIMAL+INT
- MDEV-12594 UNION between fixed length double columns does not always preserve scale
- MDEV-12595 UNION converts INT to BIGINT
- MDEV-12599 UNION is not symmetric when mixing INT and CHAR

Details:

- sql_union.cc: Reusing attribute aggregation for UNION.
  Adding new methods:
  * st_select_lex_unit::join_union_type_handlers()
  * st_select_lex_unit::join_union_type_attributes()
  * st_select_lex_unit::join_union_item_types()
  Removing the old join_types()-based code.

- Changing Type_handler::Item_hybrid_func_fix_attributes()
  to accept "name", Type_handler_hybrid_field_type, Type_all_attributes
  as three separate parameters instead of a single Item_hybrid_func parameter,
  to make it possible to pass both Item_hybrid_func and Type_holder.

- Moving the former special GEOMETRY and ENUM/SET attribute aggregation code
  from Item_type_holder::join_types() to
  * Type_handler_typelib::Item_hybrid_func_fix_attributes().
  * Type_handler_geometry::Item_hybrid_func_fix_attrubutes().
  This makes GEOMETRY/ENUM/SET symmetric with all other data types
  (from the UNION point of view).
  Removing Item_type_holder::join_types() and Item_type_holder::get_full_info().

- Adding new methods into Type_all_attributes:
  * Type_all_attributes::set_geometry_type() and
    Item_hybrid_func::set_geometry_type().
  * Adding Type_all_attributes::get_typelib().
  * Adding Type_all_attributes::set_typelib().

- Adding Type_handler_typelib as a common parent for
  Type_handler_enum and Type_handler_set, to avoid code duplication: they have
  already had two common methods, and we're adding one more shared method.

- Adding Type_all_attributes::set_maybe_null(), as some type handlers
  may want to set maybe_null (e.g. Type_handler_geometry) during data type
  attribute aggregation.

- Changing Type_geometry_attributes() to accept Type_handler
  and Type_all_attributes as two separate parameters, instead
  of a single Item parameter, to make it possible to pass Type_holder.

- Adding Item_args::add_argument().

- Moving Item_args::alloc_arguments() from "protected" to "public".

- Moving Item_type_holder::Item_type_holder() from item.cc to item.h, as
  now it's very simple.
  Btw, this constructor should probably be eventually removed.
  It's now used only in sql_show.cc, which could be modified to use
  Item_return_decimal (for symmetry with Item_return_xxx created for all
  other data types). Or, another option: remove all Item_return_xxx and
  use Item_type_holder for all data types instead.

- storage/tokudb/mysql-test/tokudb/r/type_float.result
  Recording new results (MDEV-12594).

- mysql-test/r/cte_recursive.result
  Recording new results (MDEV-9497)

- mysql-test/r/subselect*.result
  Recording new results (MDEV-12595)

- mysql-test/r/metadata.result
  Recording new results (MDEV-9495)

- mysql-test/r/temp_table.result
  Recording new results (MDEV-12594)

- mysql-test/r/type_float.result
  Recording new results (MDEV-12594)
2017-05-15 23:45:31 +04:00
..
share Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +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 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
client_settings.h Merge branch '10.1' into 10.2 2016-02-25 18:19:55 +01:00
CMakeLists.txt Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-04-13 05:52:44 +04:00
compat56.cc Fixed issues found by buildbot 2017-01-11 09:18:35 +02:00
compat56.h
contributors.h Update MariaDB Foundation sponsors 2017-02-28 17:15:36 +04:00
create_options.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
create_options.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
custom_conf.h Updated/added copyright headers 2014-01-06 10:52:35 +05:30
datadict.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
datadict.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
debug_sync.cc bugfix: DEBUG_SYNC() invoked with no THD 2017-02-27 12:35:10 +01: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
encryption.cc MDEV-11288 Server crashes in Binlog_crypt_data::init trying to feed encrypted log without decryption capabilities 2016-12-06 09:45:50 +01:00
event_data_objects.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_data_objects.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_db_repository.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_db_repository.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_parse_data.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_parse_data.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_queue.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_queue.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_scheduler.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
event_scheduler.h 10.0-base merge 2014-02-26 15:28:07 +01:00
events.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
events.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
field.cc MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer 2017-05-10 18:14:08 +04:00
field.h MDEV-12772 Add Field::get_typelib() and Item::get_typelib() 2017-05-10 11:02:02 +04:00
field_conv.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
filesort.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
filesort.h MDEV-8989 ORDER BY optimizer ignores equality propagation 2016-07-01 16:44:17 +02:00
filesort_utils.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +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 Correct FSF address 2017-03-10 18:21:29 +01:00
gcalc_slicescan.h Correct FSF address 2017-03-10 18:21:29 +01:00
gcalc_tools.cc Correct FSF address 2017-03-10 18:21:29 +01:00
gcalc_tools.h Correct FSF address 2017-03-10 18:21:29 +01: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 Correct FSF address 2017-03-10 18:21:29 +01:00
group_by_handler.h Correct FSF address 2017-03-10 18:21:29 +01: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 MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
ha_partition.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
ha_sequence.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
ha_sequence.h MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
handler.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
handler.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04: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 Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01: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-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
item.h MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +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-12771 Remove Item_func_xxx::decimal_precision() for case and abbreviations 2017-05-10 09:27:15 +04:00
item_cmpfunc.h MDEV-12771 Remove Item_func_xxx::decimal_precision() for case and abbreviations 2017-05-10 09:27:15 +04:00
item_create.cc MDEV-12784 Change Item_func_length::print() to display octet_length() rather than length() 2017-05-11 19:39:49 +04:00
item_create.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
item_func.cc MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
item_func.h MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
item_geofunc.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
item_geofunc.h MDEV-12714 Determine Item::field_type() from Item::type_handler() 2017-05-06 20:44:05 +04: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 Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03:00
item_jsonfunc.h MDEV-11833 JSON functions don't seem to respect max_allowed_packet. 2017-03-14 17:31:14 +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-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_strfunc.cc A --ps cleanup for MDEV-12658 Make the third parameter to LPAD and RPAD optional 2017-05-11 07:29:43 +04:00
item_strfunc.h MDEV-12685 Oracle-compatible function CHR() 2017-05-08 15:51:53 +04:00
item_subselect.cc MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_subselect.h MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_sum.cc MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_sum.h MDEV-12772 Add Field::get_typelib() and Item::get_typelib() 2017-05-10 11:02:02 +04:00
item_timefunc.cc MDEV-12568 Add Type_handler::subquery_type_allows_materialization() 2017-04-24 10:57:31 +04:00
item_timefunc.h MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_windowfunc.cc MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_windowfunc.h MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
item_xmlfunc.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
item_xmlfunc.h MDEV-9143 JSON_xxx functions. 2016-10-19 14:10:03 +04:00
key.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
key.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
keycaches.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
keycaches.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
lex.h MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
lex_symbol.h Updated/added copyright headers 2014-01-06 10:52:35 +05:30
lock.cc MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
lock.h MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
log.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
log.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-04-13 05:52:44 +04:00
log_event.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
log_event.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
log_event_old.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02: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 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
main.cc
mdl.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mdl.h MDEV-11227 - mysqlimport -l doesn't issue UNLOCK TABLES 2016-12-21 13:18:45 +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 Correct FSF address 2017-03-10 18:21:29 +01:00
multi_range_read.h Correct FSF address 2017-03-10 18:21:29 +01:00
my_apc.cc Correct FSF address 2017-03-10 18:21:29 +01:00
my_apc.h Correct FSF address 2017-03-10 18:21:29 +01: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 Correct FSF address 2017-03-10 18:21:29 +01:00
my_json_writer.h Correct FSF address 2017-03-10 18:21:29 +01:00
mysql_install_db.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mysql_upgrade_service.cc Correct FSF address 2017-03-10 18:21:29 +01:00
mysqld.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
mysqld.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
mysqld_suffix.h
net_serv.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01: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 Correct FSF address 2017-03-10 18:21:29 +01:00
opt_range.cc Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03:00
opt_range.h MDEV-12721 Wrong execution plan for WHERE (date_field <=> timestamp_expr AND TRUE) 2017-05-07 17:44:27 +04:00
opt_range_mrr.cc Correct FSF address 2017-03-10 18:21:29 +01:00
opt_subselect.cc MDEV-12568 Add Type_handler::subquery_type_allows_materialization() 2017-04-24 10:57:31 +04:00
opt_subselect.h Correct FSF address 2017-03-10 18:21:29 +01:00
opt_sum.cc Fixed the bug mdev-11990. 2017-05-03 13:50:35 -07:00
opt_table_elimination.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
parse_file.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
parse_file.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
partition_element.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
partition_info.cc MDEV-12657 A few tests fail in build-bot on Windows after changing Field::field_name and Item::name to LEX_CSTRING 2017-05-02 13:51:35 +04:00
partition_info.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
password.c Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
plistsort.c Correct FSF address 2017-03-10 18:21:29 +01:00
procedure.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
procedure.h MDEV-12719 Determine Item::result_type() from Item::type_handler() 2017-05-07 19:29:23 +04:00
protocol.cc MDEV-12687 Split Item::send() into virtual method in Type_handler 2017-05-04 16:05:21 +04:00
protocol.h MDEV-9947: COM_MULTI united response 2016-05-17 13:31:33 +02:00
records.cc bugfix: uninit variable 2017-02-13 18:12:15 +01:00
records.h Allow READ_RECORD to make use of RAII and free itself on destruction 2017-02-14 07:46:58 +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
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 Merge branch '10.0' into 10.1 2016-12-11 09:53:42 +01:00
rpl_filter.h MDEV-6676: Optimistic parallel replication 2015-02-07 09:42:58 +01:00
rpl_gtid.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
rpl_gtid.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
rpl_mi.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
rpl_parallel.cc Merge 10.1 into 10.2 2017-04-28 12:22:32 +03:00
rpl_parallel.h Change "static int" to enum in classes 2017-04-18 12:23:40 +03:00
rpl_record.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
rpl_record.h MDEV-11636 Extra persistent columns on slave always gets NULL in RBR 2017-01-01 17:38:41 +05:30
rpl_record_old.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03: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 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
rpl_rli.h ASAN error in rpl.mysql-wsrep#110-2 2017-04-07 09:55:54 +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
rpl_utility.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03: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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
session_tracker.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
set_var.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
set_var.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
signal_handler.cc MDEV-11177 mysqlbinlog exits silently without error when another 2017-03-22 01:48:22 +04:00
slave.cc Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03:00
slave.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sp.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sp.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sp_cache.cc Adding the const quafilier to "sp_name *" parameters in a few routine. 2017-04-11 16:15:08 +04:00
sp_cache.h Adding the const quafilier to "sp_name *" parameters in a few routine. 2017-04-11 16:15:08 +04:00
sp_head.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sp_head.h MDEV-12695 Add Column_definition::type_handler() 2017-05-05 07:00:18 +04:00
sp_pcontext.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sp_pcontext.h MDEV-12695 Add Column_definition::type_handler() 2017-05-05 07:00:18 +04:00
sp_rcontext.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sp_rcontext.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
spatial.cc Fix several compile warnings on Windows 2017-03-10 19:07:07 +00:00
spatial.h MDEV-11042 Implement GeoJSON functions. 2017-01-24 22:39:55 +04:00
sql_acl.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_acl.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_admin.cc Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03:00
sql_admin.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_alter.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_alter.h MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_analyse.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +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.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_analyze_stmt.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02: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 many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
sql_base.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_base.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_basic_types.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_binlog.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02: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 MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
sql_cache.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_cache.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_callback.h
sql_class.cc MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer 2017-05-10 18:14:08 +04:00
sql_class.h MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer 2017-05-10 18:14:08 +04: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-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_connect.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_connect.h Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_const.h MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
sql_crypt.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
sql_crypt.h
sql_cte.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
sql_cte.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
sql_cursor.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_cursor.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_db.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_db.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_delete.cc MDEV-11836 vcol.vcol_keys_myisam fails in buildbot and outside 2017-02-13 18:12:04 +01:00
sql_delete.h
sql_derived.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
sql_derived.h Fixed the bug mdev-12563. 2017-04-28 21:59:11 -07:00
sql_digest.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03: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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_error.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_explain.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_explain.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_expression_cache.cc Correct FSF address 2017-03-10 18:21:29 +01:00
sql_expression_cache.h Correct FSF address 2017-03-10 18:21:29 +01:00
sql_get_diagnostics.cc Stage 2 of MDEV-6152: 2015-08-21 10:40:51 +04:00
sql_get_diagnostics.h
sql_handler.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_handler.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_help.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_help.h
sql_hset.h remove my_hash_const_element(), use Hash_set in C++ code 2017-03-31 19:22:19 +02:00
sql_insert.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_insert.h MDEV-11698 Old Bug possibly not fixed; BEFORE INSERT Trigger on NOT NULL 2017-01-17 20:16:09 +01:00
sql_join_cache.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_join_cache.h Correct FSF address 2017-03-10 18:21:29 +01:00
sql_lex.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_lex.h MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
sql_lifo_buffer.h Correct FSF address 2017-03-10 18:21:29 +01:00
sql_list.cc
sql_list.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_load.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04: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-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_parse.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_partition.cc MDEV-12695 Add Column_definition::type_handler() 2017-05-05 07:00:18 +04:00
sql_partition.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_partition_admin.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_partition_admin.h
sql_plist.h
sql_plugin.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_plugin.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_plugin_compat.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_plugin_services.ic Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_prepare.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03: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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_profile.h Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
sql_reload.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_reload.h MySQL WL#5522 - InnoDB transportable tablespaces. 2014-02-02 10:06:29 +01:00
sql_rename.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_rename.h
sql_repl.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03: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 MDEV-12717 Change Item_equal to operate Type_handler rather than Item_result 2017-05-07 01:02:37 +04:00
sql_select.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
sql_sequence.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_sequence.h MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_servers.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_servers.h cleanup: freshen up CREATE SERVER code 2014-12-04 10:41:51 +01:00
sql_show.cc MDEV-9217 Split Item::tmp_table_field_from_field_type() into virtual methods in Type_handler 2017-04-24 12:09:25 +04:00
sql_show.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_signal.cc MDEV-10587 sql_mode=ORACLE: User defined exceptions 2017-04-05 15:02:53 +04:00
sql_signal.h MDEV-11037 Diagnostics_area refactoring for user defined exceptions 2017-04-05 15:02:53 +04: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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_statistics.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_string.cc MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
sql_string.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_table.cc MDEV-10139 Support for SEQUENCE objects 2017-05-08 02:44:55 +03:00
sql_table.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03: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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03: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 Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_time.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_trigger.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_trigger.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_truncate.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_truncate.h 5.5.38 merge 2014-06-06 00:07:27 +02:00
sql_type.cc MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
sql_type.h MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
sql_udf.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_udf.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_union.cc MDEV-12775 Reuse data type aggregation code for hybrid functions and UNION 2017-05-15 23:45:31 +04:00
sql_union.h
sql_update.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_update.h MDEV-8701 Crash on derived query 2015-11-06 17:56:56 +01:00
sql_view.cc MDEV-12657 A few tests fail in build-bot on Windows after changing Field::field_name and Item::name to LEX_CSTRING 2017-05-02 13:51:35 +04:00
sql_view.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_window.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
sql_window.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sql_yacc.yy MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer 2017-05-10 18:14:08 +04:00
sql_yacc_ora.yy MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer 2017-05-10 18:14:08 +04:00
strfunc.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
strfunc.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
structs.h MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer 2017-05-10 18:14:08 +04:00
sys_vars.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
sys_vars.ic Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03:00
sys_vars_shared.h
table.cc Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03:00
table.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
table_cache.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
table_cache.h MDEV-10296 - Multi-instance table cache 2016-09-16 18:41:21 +04:00
temporary_tables.cc MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04: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 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
threadpool_common.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
threadpool_generic.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
threadpool_win.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
transaction.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
transaction.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
tzfile.h
tztime.cc Reuse THD for new user connections 2016-06-04 09:06:00 +02:00
tztime.h
udf_example.c MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
udf_example.def MDEV-10139 Support for SEQUENCE objects 2017-04-07 18:09:56 +04:00
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 MDEV-12695 Add Column_definition::type_handler() 2017-05-05 07:00:18 +04:00
unireg.h cleanup: unused open_table_from_share() flags 2016-12-12 20:27:30 +01:00
winservice.c Correct FSF address 2017-03-10 18:21:29 +01:00
winservice.h Correct FSF address 2017-03-10 18:21:29 +01:00
wsrep_applier.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
wsrep_applier.h Correct FSF address 2017-03-10 18:21:29 +01:00
wsrep_binlog.cc Fixed compiler warnings and warnings from build.tags 2017-05-08 02:33:35 +03: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 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02: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 remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
wsrep_mysqld.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
wsrep_mysqld.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
wsrep_notify.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_priv.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_sst.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02: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 Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
wsrep_thd.h Improve performance for calculating memory allocation 2015-02-01 15:24:22 +02:00
wsrep_utils.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_utils.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
wsrep_var.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
wsrep_var.h Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
wsrep_xid.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_xid.h MDEV-6368: assertion xid_seqno > trx_sys_cur_xid_seqno 2016-05-31 20:37:00 -04:00