mariadb/sql
Alexander Barkov 534a2bf1c6 MDEV-32275 getting error 'Illegal parameter data types row and bigint for operation '+' ' when using ITERATE in a FOR..DO
An "ITERATE innerLoop" did not work properly inside
a WHILE loop, which itself is inside an outer FOR loop:

outerLoop:
  FOR
   ...
   innerLoop:
    WHILE
      ...
      ITERATE innerLoop;
      ...
    END WHILE;
    ...
  END FOR;

It erroneously generated an integer increment code for the outer FOR loop.
There were two problems:
1. "ITERATE innerLoop" worked like "ITERATE outerLoop"
2. It was always integer increment, even in case of FOR cursor loops.

Background:
- A FOR loop automatically creates a dedicated sp_pcontext stack entry,
  to put the iteration and bound variables on it.

- Other loop types (LOOP, WHILE, REPEAT), do not generate a dedicated
  slack entry.

  The old code erroneously assumed that sp_pcontext::m_for_loop
  either describes the most inner loop (in case the inner loop is FOR),
  or is empty (in case the inner loop is not FOR).

  But in fact, sp_pcontext::m_for_loop is never empty inside a FOR loop:
  it describes the closest FOR loop, even if this FOR loop has nested
  non-FOR loops inside.

  So when we're near the ITERATE statement in the above script,
  sp_pcontext::m_for_loop is not empty - it stores information about
  the FOR loop labeled as "outrLoop:".

Fix:
- Adding a new member sp_pcontext::Lex_for_loop::m_start_label,
  to remember the explicit or the auto-generated label correspoding
  to the start of the FOR body. It's used during generation
  of "ITERATE loop_label" code to check if "loop_label" belongs
  to the current FOR loop pointed by sp_pcontext::m_for_loop,
  or belongs to a non-FOR nested loop.

- Adding LEX methods sp_for_loop_intrange_iterate() and
  sp_for_loop_cursor_iterate() to reuse the code between
  methods handling:
  * ITERATE
  * END FOR

- Adding a test for Lex_for_loop::is_for_loop_cursor()
  and generate a code either a cursor fetch, or for an integer increment.
  Before this change, it always erroneously generated an integer increment
  version.

- Cleanup: Initialize Lex_for_loop_st::m_cursor_offset inside
  Lex_for_loop_st::init(), to avoid not initialized members.

- Cleanup: Removing a redundant method:
    Lex_for_loop_st::init(const Lex_for_loop_st &other)
  Using Lex_for_loop_st::operator(const Lex_for_loop_st &other) instead.
2023-10-04 16:06:59 +04:00
..
share generalize ER_QUERY_EXCEEDED_ROWS_EXAMINED_LIMIT 2023-07-03 15:46:24 +02:00
add_errmsg
authors.h
backup.cc MDEV-381: fdatasync() does not correctly flush growing binlog file 2023-08-10 19:52:04 +02:00
backup.h
bounded_queue.h
client_settings.h
CMakeLists.txt MDEV-31890: Compilation failing on MacOS (unknown warning option -Wno-unused-but-set-variable) 2023-08-28 16:47:00 +07:00
compat56.cc
compat56.h
contributors.h
create_options.cc
create_options.h
custom_conf.h
datadict.cc
datadict.h
debug_sync.cc ensure that STRING_WITH_LEN is only used with string literals 2023-04-01 22:31:30 +02:00
debug_sync.h
derived_handler.cc MDEV-29284 ANALYZE doesn't work with pushed derived tables 2023-07-07 15:15:24 +07:00
derived_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
derror.cc
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h
encryption.cc
event_data_objects.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
event_data_objects.h
event_db_repository.cc
event_db_repository.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
event_parse_data.cc
event_parse_data.h
event_queue.cc
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc
events.h
field.cc MDEV-31250 ROW variables do not get assigned from subselects 2023-05-12 12:19:44 +04:00
field.h MDEV-30034 UNIQUE USING HASH accepts duplicate entries for tricky collations 2023-04-04 12:30:50 +04:00
field_comp.cc
field_comp.h
field_conv.cc MDEV-31724 Compressed varchar values lost on joins when sorting on columns from joined table(s) 2023-08-15 07:00:17 +04:00
filesort.cc MDEV-20057 Distinct SUM on CROSS JOIN and grouped returns wrong result 2023-02-17 16:08:50 +02:00
filesort.h
filesort_utils.cc
filesort_utils.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
gcalc_slicescan.cc
gcalc_slicescan.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
gcalc_tools.cc
gcalc_tools.h
gen_lex_hash.cc
gen_lex_token.cc
gen_win_tzname_data.ps1
group_by_handler.cc
group_by_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
gstream.cc
gstream.h
ha_partition.cc MDEV-24712 get_partition_set is never executed in ha_partition::multi_range_key_create_key due to bitwise & with 0 constant 2023-07-07 14:27:17 +02:00
ha_partition.h MDEV-30596: Assertion 'pushed_rowid_filter != __null ...' failed 2023-02-14 11:23:39 +03:00
ha_sequence.cc Merge branch '10.3' into 10.4 2023-05-02 10:09:27 +02:00
ha_sequence.h
handle_connections_win.cc
handle_connections_win.h
handler.cc MDEV-29989 binlog_do_db option breaks versioning table 2023-09-26 10:47:59 +05:30
handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
hash_filo.cc
hash_filo.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
hostname.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
hostname.h
init.cc
init.h
innodb_priv.h
item.cc MDEV-29731 Assertion failure when HAVING in a correlated subquery references columns in the outer query 2023-09-20 11:05:34 +07:00
item.h MDEV-30889: 3 - Item_in_optimizer leak 2023-04-26 16:15:29 +02:00
item_buff.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_cmpfunc.cc MDEV-30159: Client can crash the server with a mysql_list_fields("view") call 2023-07-20 13:10:02 +02:00
item_cmpfunc.h MDEV-30889: 3 - Item_in_optimizer leak 2023-04-26 16:15:29 +02:00
item_create.cc Merge branch '10.4' into 10.4.30 2023-06-07 15:08:29 +02:00
item_create.h MDEV-31174 New class Native_functions_hash 2023-05-03 17:28:12 +04:00
item_func.cc MDEV-32223 Memory leak showed in MDEV-6146 test suite 2023-09-28 15:05:44 +02:00
item_func.h MDEV-23838 Possibly wrong result or Assertion `0' failed in Item_func_round::native_op 2023-07-19 09:07:12 +04:00
item_geofunc.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_geofunc.h
item_inetfunc.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_inetfunc.h
item_jsonfunc.cc
item_jsonfunc.h MDEV-24538: JSON_LENGTH does not return error upon wrong number of parameters 2023-02-14 12:03:28 +11:00
item_row.cc
item_row.h
item_strfunc.cc MDEV-29019 Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on SELECT 2023-07-19 11:18:16 +04:00
item_strfunc.h
item_subselect.cc MDEV-31181 Crash with EXPLAIN EXTENDED for single-table DELETE using IN predicand 2023-05-08 11:42:24 -07:00
item_subselect.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_sum.cc MDEV-30706 Different results of selects from view and CTE with same definition 2023-03-02 07:51:33 -08:00
item_sum.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
item_timefunc.cc MDEV-28835 Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on INSERT 2023-10-04 08:51:48 +04:00
item_timefunc.h
item_vers.cc
item_vers.h
item_windowfunc.cc
item_windowfunc.h
item_xmlfunc.cc Fix GCC 13 -Wmaybe-uninitialized 2023-06-26 11:03:15 +03:00
item_xmlfunc.h
key.cc MDEV-30034 UNIQUE USING HASH accepts duplicate entries for tricky collations 2023-04-04 12:30:50 +04:00
key.h
keycaches.cc
keycaches.h
lex.h
lex_string.h
lex_symbol.h
lock.cc
lock.h
log.cc MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
log.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
log_event.cc MDEV-32093 long uniques break old->new replication 2023-09-06 22:38:41 +02:00
log_event.h fix typo 2023-04-10 12:18:16 +02:00
log_event_old.cc
log_event_old.h
log_slow.h
main.cc
mariadb.h
mdl.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
mdl.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache.cc
mf_iocache_encr.cc
MSG00001.bin
multi_range_read.cc
multi_range_read.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
my_apc.cc
my_apc.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
my_decimal.cc
my_decimal.h
my_json_writer.cc
my_json_writer.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
mysql_install_db.cc
mysql_upgrade_service.cc
mysqld.cc MDEV-31369 Disable TLS v1.0 and 1.1 for MariaDB 2023-09-13 20:17:29 +10:00
mysqld.h Revert "MDEV-13915: STOP SLAVE takes very long time on a busy system" 2023-06-06 08:11:38 -06:00
mysqld_suffix.h
net_serv.cc
nt_servc.cc
nt_servc.h
opt_index_cond_pushdown.cc
opt_range.cc MDEV-31800 Problem with open ranges on prefix blobs keys 2023-07-31 22:46:47 +02:00
opt_range.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
opt_range_mrr.cc
opt_split.cc Merge branch '10.4' into 10.4.30 2023-06-07 15:08:29 +02:00
opt_subselect.cc MDEV-31181 Crash with EXPLAIN EXTENDED for single-table DELETE using IN predicand 2023-05-08 11:42:24 -07:00
opt_subselect.h
opt_sum.cc
opt_table_elimination.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
opt_trace.cc
opt_trace.h
opt_trace_context.h
parse_file.cc
parse_file.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
partition_element.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
partition_info.cc
partition_info.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
password.c
plistsort.c
procedure.cc
procedure.h
protocol.cc
protocol.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
proxy_protocol.cc
proxy_protocol.h
records.cc
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rowid_filter.cc MDEV-25163 Rowid filter does not process storage engine error correctly. 2023-09-25 15:13:07 +03:00
rowid_filter.h MDEV-25163 Rowid filter does not process storage engine error correctly. 2023-09-25 15:13:07 +03:00
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_gtid.cc MDEV-31413 : Node has been dropped from the cluster on Startup / Shutdown with async replica 2023-08-08 03:25:56 +02:00
rpl_gtid.h MDEV-31602: Race on rpl_global_gtid_slave_state when starting IO thread 2023-07-04 22:18:31 +02:00
rpl_injector.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
rpl_injector.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
rpl_mi.cc
rpl_mi.h
rpl_parallel.cc MDEV-10356: rpl.rpl_parallel_temptable failure due to incorrect commit optimization of temptables 2023-09-07 14:40:05 +02:00
rpl_parallel.h MDEV-31448: Killing a replica thread awaiting its GCO can hang/crash a parallel replica 2023-07-12 09:41:32 +02:00
rpl_record.cc
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc MDEV-31285 : Assertion `state() == s_executing || state() == s_preparing || 2023-09-28 19:28:25 +02:00
rpl_rli.h
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
select_handler.cc
select_handler.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
semisync.cc
semisync.h
semisync_master.cc MDEV-30269: Remove rpl_semi_sync_[slave,master] usage in code 2023-03-23 13:39:46 +01:00
semisync_master.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
semisync_master_ack_receiver.cc
semisync_master_ack_receiver.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
semisync_slave.cc
semisync_slave.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
service_wsrep.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
session_tracker.cc MDEV-25237 crash after setting global session_track_system_variables to an invalid value 2023-07-20 10:42:30 +02:00
session_tracker.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
set_var.cc
set_var.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
signal_handler.cc MDEV-30613 output_core_info crashes in my_read() 2023-03-08 13:25:30 +00:00
slave.cc MDEV-31177: SHOW SLAVE STATUS Last_SQL_Errno Race Condition on Errored Slave Restart 2023-09-13 12:01:47 -06:00
slave.h Merge branch '10.3' into 10.4 2023-05-02 10:09:27 +02:00
sp.cc MDEV-31064 Changes in a SP are not immediately seen in I_S.parameters 2023-07-07 15:36:46 +02:00
sp.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sp_cache.cc
sp_cache.h
sp_head.cc MDEV-14959: Control over memory allocated for SP/PS 2023-09-02 13:00:00 +07:00
sp_head.h MDEV-14959: Control over memory allocated for SP/PS 2023-09-02 13:00:00 +07:00
sp_pcontext.cc
sp_pcontext.h MDEV-32275 getting error 'Illegal parameter data types row and bigint for operation '+' ' when using ITERATE in a FOR..DO 2023-10-04 16:06:59 +04:00
sp_rcontext.cc
sp_rcontext.h
spatial.cc
spatial.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_acl.cc Remove CLIENT_SSL_VERIFY_SERVER_CERT 2023-07-23 19:23:51 +02:00
sql_acl.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_acl_getsort.ic
sql_admin.cc MDEV-24912 : Assertion `state() == s_executing 2023-09-26 08:24:39 +02:00
sql_admin.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_alloc.h
sql_alter.cc
sql_alter.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_analyse.cc
sql_analyse.h
sql_analyze_stmt.cc
sql_analyze_stmt.h
sql_array.h
sql_audit.cc
sql_audit.h
sql_base.cc MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_base.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_basic_types.h
sql_binlog.cc
sql_binlog.h
sql_bitmap.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_bootstrap.cc
sql_bootstrap.h
sql_builtin.cc.in
sql_cache.cc
sql_cache.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_callback.h
sql_class.cc MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_class.h MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_client.cc
sql_cmd.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_connect.cc
sql_connect.h
sql_const.h
sql_crypt.cc
sql_crypt.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_cte.cc
sql_cte.h
sql_cursor.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_cursor.h
sql_db.cc
sql_db.h
sql_debug.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_delete.cc MDEV-30539 EXPLAIN EXTENDED: no message with queries for DML statements 2023-03-25 12:36:59 -07:00
sql_delete.h
sql_derived.cc MDEV-31214 Recursive CTE execution is interrupted without errors or warnings 2023-07-03 15:46:24 +02:00
sql_derived.h
sql_digest.cc
sql_digest.h
sql_digest_stream.h
sql_do.cc
sql_do.h
sql_error.cc MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_error.h MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_explain.cc MDEV-30539 EXPLAIN EXTENDED: no message with queries for DML statements 2023-03-25 12:36:59 -07:00
sql_explain.h MDEV-30539 EXPLAIN EXTENDED: no message with queries for DML statements 2023-03-25 12:36:59 -07:00
sql_expression_cache.cc
sql_expression_cache.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_get_diagnostics.cc
sql_get_diagnostics.h
sql_handler.cc
sql_handler.h
sql_help.cc
sql_help.h
sql_hset.h
sql_insert.cc MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_insert.h
sql_join_cache.cc MDEV-25163 Rowid filter does not process storage engine error correctly. 2023-09-25 15:13:07 +03:00
sql_join_cache.h MDEV-31893 Valgrind reports issues in main.join_cache_notasan 2023-08-10 17:35:37 +03:00
sql_lex.cc MDEV-32275 getting error 'Illegal parameter data types row and bigint for operation '+' ' when using ITERATE in a FOR..DO 2023-10-04 16:06:59 +04:00
sql_lex.h MDEV-32275 getting error 'Illegal parameter data types row and bigint for operation '+' ' when using ITERATE in a FOR..DO 2023-10-04 16:06:59 +04:00
sql_lifo_buffer.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_list.cc
sql_list.h
sql_load.cc MDEV-32015 insert into an empty table fails with hash unique 2023-09-06 22:38:41 +02:00
sql_load.h
sql_locale.cc MDEV-30630 locale: Chinese error messages for ZH_CN 2023-02-15 22:39:38 +11:00
sql_locale.h
sql_manager.cc
sql_manager.h
sql_mode.cc
sql_mode.h
sql_parse.cc MDEV-17711 Assertion `arena_for_set_stmt== 0' failed in LEX::set_arena_for_set_stmt upon SET STATEMENT 2023-09-06 22:38:41 +02:00
sql_parse.h
sql_partition.cc
sql_partition.h
sql_partition_admin.cc
sql_partition_admin.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_plist.h
sql_plugin.cc MDEV-31400 Simple plugin dependency resolution 2023-07-25 18:24:20 +10:00
sql_plugin.h
sql_plugin_compat.h
sql_plugin_services.inl MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
sql_prepare.cc MDEV-14959: Control over memory allocated for SP/PS 2023-09-02 13:00:00 +07:00
sql_prepare.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_priv.h
sql_profile.cc
sql_profile.h
sql_reload.cc
sql_reload.h
sql_rename.cc
sql_rename.h
sql_repl.cc MDEV-30269: Remove rpl_semi_sync_[slave,master] usage in code 2023-03-23 13:39:46 +01:00
sql_repl.h
sql_schema.cc MDEV-31153 New methods Schema::make_item_func_* for REPLACE, SUBSTRING, TRIM 2023-04-29 08:06:46 +04:00
sql_schema.h MDEV-31153 New methods Schema::make_item_func_* for REPLACE, SUBSTRING, TRIM 2023-04-29 08:06:46 +04:00
sql_select.cc MDEV-25163 Rowid filter does not process storage engine error correctly. 2023-09-25 15:13:07 +03:00
sql_select.h MDEV-25163 Rowid filter does not process storage engine error correctly. 2023-09-25 15:13:07 +03:00
sql_sequence.cc MDEV-29771 Server crashes in check_sequence_fields upon CREATE TABLE .. SEQUENCE=1 AS SELECT .. 2023-09-27 08:54:26 +02:00
sql_sequence.h MDEV-29771 Server crashes in check_sequence_fields upon CREATE TABLE .. SEQUENCE=1 AS SELECT .. 2023-09-27 08:54:26 +02:00
sql_servers.cc
sql_servers.h
sql_show.cc MDEV-14959: Fixed memory leak relating with view and IS 2023-09-02 13:00:00 +07:00
sql_show.h
sql_signal.cc
sql_signal.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_sort.h MDEV-20057 Distinct SUM on CROSS JOIN and grouped returns wrong result 2023-02-17 16:08:50 +02:00
sql_state.c
sql_statistics.cc MDEV-31067: selectivity_from_histogram >1.0 for a DOUBLE_PREC_HB histogram 2023-04-28 22:39:25 +03:00
sql_statistics.h
sql_string.cc MDEV-28835 Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on INSERT 2023-10-04 08:51:48 +04:00
sql_string.h MDEV-28835 Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on INSERT 2023-10-04 08:51:48 +04:00
sql_table.cc MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
sql_table.h MDEV-30388 correction: fix compilation error 2023-05-12 02:48:15 +02:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc
sql_test.h
sql_time.cc
sql_time.h
sql_trigger.cc
sql_trigger.h
sql_truncate.cc
sql_truncate.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_tvc.cc MDEV-32225 Test case from opt_tvc.test fails with statement memory protection 2023-09-23 20:11:52 -07:00
sql_tvc.h MDEV-32225 Test case from opt_tvc.test fails with statement memory protection 2023-09-23 20:11:52 -07:00
sql_type.cc MDEV-26765 UNIX_TIMESTAMP(CURRENT_TIME()) return null ?!? 2023-03-29 11:56:44 +04:00
sql_type.h MDEV-20057 Distinct SUM on CROSS JOIN and grouped returns wrong result 2023-02-17 16:08:50 +02:00
sql_type_int.h MDEV-30932 UBSAN: negation of -X cannot be represented in type .. 2023-06-29 11:50:17 +04:00
sql_type_json.cc
sql_type_json.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_type_real.h
sql_udf.cc
sql_udf.h
sql_union.cc generalize ER_QUERY_EXCEEDED_ROWS_EXAMINED_LIMIT 2023-07-03 15:46:24 +02:00
sql_union.h
sql_update.cc MDEV-25644 UPDATE not working properly on transaction precise system versioned table 2023-07-20 18:22:31 +03:00
sql_update.h
sql_view.cc MDEV-28603 Invalid view when its definition uses TVC as single-value subquery 2023-02-27 10:51:22 -08:00
sql_view.h
sql_window.cc MDEV-32259 Test from win.test fails with statement memory protection 2023-09-27 07:48:01 -07:00
sql_window.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_yacc.yy MDEV-31174 New class Native_functions_hash 2023-05-03 17:28:12 +04:00
sql_yacc_ora.yy MDEV-31174 New class Native_functions_hash 2023-05-03 17:28:12 +04:00
strfunc.cc
strfunc.h
structs.h MDEV-32275 getting error 'Illegal parameter data types row and bigint for operation '+' ' when using ITERATE in a FOR..DO 2023-10-04 16:06:59 +04:00
sys_vars.cc MDEV-31369 Disable TLS v1.0 and 1.1 for MariaDB 2023-09-13 20:17:29 +10:00
sys_vars.inl MDEV-25237 crash after setting global session_track_system_variables to an invalid value 2023-07-20 10:42:30 +02:00
sys_vars_shared.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
table.cc MDEV-21479 : Galera 4 unable to query cluster state if not primary component 2023-05-16 13:11:44 +02:00
table.h MDEV-6768 Wrong result with aggregate with join with no result set 2023-05-02 23:43:12 +03:00
table_cache.cc MDEV-31185 rw_trx_hash_t::find() unpins pins too early 2023-05-19 15:50:20 +03:00
table_cache.h
temporary_tables.cc
thr_malloc.cc
thr_malloc.h
threadpool.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
threadpool_common.cc MDEV-28561 Assertion failed: !pfs->m_idle || (state == PSI_SOCKET_STATE_ACTIVE) 2023-09-29 09:30:49 +02:00
threadpool_generic.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
threadpool_win.cc
transaction.cc
transaction.h
tzfile.h
tztime.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
tztime.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
udf_example.c
udf_example.def
uniques.cc
uniques.h
unireg.cc
unireg.h
upgrade_conf_file.cc
vers_string.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
vers_utils.h
win_tzname_data.h
winservice.c
winservice.h
wsrep_applier.cc
wsrep_applier.h
wsrep_binlog.cc
wsrep_binlog.h
wsrep_check_opts.cc
wsrep_client_service.cc MDEV-30955 Explicit locks released too early in rollback path 2023-04-18 13:57:59 +02:00
wsrep_client_service.h
wsrep_client_state.h
wsrep_condition_variable.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
wsrep_dummy.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
wsrep_high_priority_service.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
wsrep_high_priority_service.h
wsrep_mutex.h
wsrep_mysqld.cc MDEV-31651 : Assertion wsrep_thd_is_applying(thd) && !wsrep_thd_is_local_toi(thd) in wsrep_ignored_error_code 2023-09-26 08:36:16 +02:00
wsrep_mysqld.h MDEV-31413 : Node has been dropped from the cluster on Startup / Shutdown with async replica 2023-08-08 03:25:56 +02:00
wsrep_mysqld_c.h
wsrep_notify.cc MDEV-29861 : Galera "notify" test cases hang 2023-09-11 23:06:15 +02:00
wsrep_on.h MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key 2023-09-29 12:54:04 +02:00
wsrep_plugin.cc
wsrep_priv.h MDEV-31413 : Node has been dropped from the cluster on Startup / Shutdown with async replica 2023-08-08 03:25:56 +02:00
wsrep_schema.cc MDEV-30197 : Missing DBUG_RETURN or DBUG_VOID_RETURN macro in function "Wsrep_schema::restore_view()" 2023-05-23 01:10:19 +02:00
wsrep_schema.h MDEV-21479 : Galera 4 unable to query cluster state if not primary component 2023-05-16 13:11:44 +02:00
wsrep_server_service.cc MDEV-31413 : Node has been dropped from the cluster on Startup / Shutdown with async replica 2023-08-08 03:25:56 +02:00
wsrep_server_service.h MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
wsrep_server_state.cc Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
wsrep_server_state.h
wsrep_sst.cc MDEV-28433 : Server crashes when wsrep_sst_donor and wsrep_cluster_address set to NULL 2023-05-12 02:48:16 +02:00
wsrep_sst.h
wsrep_storage_service.cc
wsrep_storage_service.h
wsrep_thd.cc MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
wsrep_thd.h MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:33:37 +02:00
wsrep_trans_observer.h MDEV-24912 : Assertion `state() == s_executing 2023-09-26 08:24:39 +02:00
wsrep_types.h
wsrep_utils.cc
wsrep_utils.h MDEV-29861 : Galera "notify" test cases hang 2023-09-11 23:06:15 +02:00
wsrep_var.cc
wsrep_var.h
wsrep_xid.cc
wsrep_xid.h
xa.cc MDEV-31185 rw_trx_hash_t::find() unpins pins too early 2023-05-19 15:50:20 +03:00
xa.h