mariadb/dbug
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
..
CMakeLists.txt Merge 10.4 into 10.5 2021-05-26 09:47:28 +03:00
dbug.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
dbug_add_tags.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
dbug_long.h
example1.c
example2.c
example3.c
factorial.c
main.c
monty.doc
my_main.c
remove_function_from_trace.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
tests-t.pl Vanilla cleanups and refactorings 2021-10-26 17:07:46 +02:00
tests.c Vanilla cleanups and refactorings 2021-10-26 17:07:46 +02:00
user.r Vanilla cleanups and refactorings 2021-10-26 17:07:46 +02:00