Skip to content

Conversation

mariadb-RexJohnston
Copy link
Member

…rtion

if thd->killed is set for any reason at a critical point during
get_quick_record_count, JOIN::build_explain() isn't called and
Sql_cmd_update::execute_inner() doesn't return an error code to indicate
failure.
DBUG_RETURN(false); // Fatal error flag is set

DBUG_EXECUTE_IF ("MDEV-36034-A",
thd->set_killed_no_mutex(KILL_TIMEOUT, 0, nullptr); );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you do it without DBUG_EXECUTE_IF please?
E.g. with existing DEBUG_SYNC, if possible. Those DBUG_EXECUTE_IF don't improve readability, they're a necessary evil, but still evil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants