mariadb/plugin
Aleksey Midenkov d324c03d0c Vanilla cleanups and refactorings
Dead code cleanup:

part_info->num_parts usage was wrong and working incorrectly in
mysql_drop_partitions() because num_parts is already updated in
prep_alter_part_table(). We don't have to update part_info->partitions
because part_info is destroyed at alter_partition_lock_handling().

Cleanups:

- DBUG_EVALUATE_IF() macro replaced by shorter form DBUG_IF();
- Typo in ER_KEY_COLUMN_DOES_NOT_EXITS.

Refactorings:

- Splitted write_log_replace_delete_frm() into write_log_delete_frm()
  and write_log_replace_frm();
- partition_info via DDL_LOG_STATE;
- set_part_info_exec_log_entry() removed.

DBUG_EVALUATE removed

DBUG_EVALUTATE was only added for consistency together with
DBUG_EVALUATE_IF. It is not used anywhere in the code.

DBUG_SUICIDE() fix on release build

On release DBUG_SUICIDE() was statement. It was wrong as
DBUG_SUICIDE() is used in expression context.
2021-10-26 17:07:46 +02:00
..
audit_null
auth_dialog
auth_ed25519
auth_examples
auth_gssapi
auth_pam
auth_pipe
auth_socket
aws_key_management
cracklib_password_check
daemon_example
debug_key_management
disks
example_key_management
feedback
file_key_management
fulltext
func_test
handler_socket
locale_info
metadata_lock_info
password_reuse_check
qc_info
query_response_time
server_audit
simple_password_check
sql_errlog
test_sql_service
type_geom
type_inet
type_mysql_json
type_test
user_variables
userstat
versioning
win_auth_client
wsrep_info