diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2023-02-04 12:10:31 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2023-02-15 15:08:16 +0200 |
commit | e83ae66e4a08f5efcbc7d86d47603db6f1570009 (patch) | |
tree | 7885ad59e98d324f8a9983a3b91706ffb970ae9d /sql/debug_sync.cc | |
parent | 96a3b11d13c263b89a70cf6e01efa442b7ac079d (diff) | |
download | mariadb-git-e83ae66e4a08f5efcbc7d86d47603db6f1570009.tar.gz |
Update comments to match new debug_sync implementation
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r-- | sql/debug_sync.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc index aa6956060b4..eac111d32d7 100644 --- a/sql/debug_sync.cc +++ b/sql/debug_sync.cc @@ -1344,7 +1344,8 @@ static bool debug_sync_eval_action(THD *thd, char *action_str, char *action_end) /* Try NO_CLEAR_EVENT. */ - if (!my_strcasecmp(system_charset_info, token, "NO_CLEAR_EVENT")) { + if (!my_strcasecmp(system_charset_info, token, "NO_CLEAR_EVENT")) + { action->clear_event= false; /* Get next token. If none follows, set action. */ if (!(ptr = debug_sync_token(&token, &token_length, ptr, action_end))) goto set_action; @@ -1634,8 +1635,8 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action) /* - Wait until global signal string matches the wait_for string. - Interrupt when thread or query is killed or facility disabled. + Wait until the signal set contains the wait_for string. + Interrupt when thread or query is killed or facility is disabled. The facility can become disabled when some thread cannot get the required dynamic memory allocated. */ |