summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-10-04 13:23:13 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-10-04 13:23:13 +0200
commit55e07d9ade51e9e969f528d903509806142f4d1e (patch)
tree7261b1dc07a0b7a5467e8ec22d676c48ae9324dd /sql/item_func.cc
parent0333ddd3ec003225384507f30e65517d99c494b7 (diff)
parent2f70784c2aff3bcf67f89f4d8cd121e8f8c3355f (diff)
downloadmariadb-git-55e07d9ade51e9e969f528d903509806142f4d1e.tar.gz
Merge branch '10.8' into 10.9
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 1d32514a024..7d4b2e01efd 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -4609,10 +4609,12 @@ longlong Item_func_sleep::val_int()
mysql_cond_destroy(&cond);
+#ifdef ENABLED_DEBUG_SYNC
DBUG_EXECUTE_IF("sleep_inject_query_done_debug_sync", {
debug_sync_set_action
(thd, STRING_WITH_LEN("dispatch_command_end SIGNAL query_done"));
};);
+#endif
return MY_TEST(!error); // Return 1 killed
}