From fbbcc45432eea4048b18e4f34491ff5eb0ba9b83 Mon Sep 17 00:00:00 2001 From: yuanyazhi Date: Tue, 3 Jun 2025 15:39:28 +0800 Subject: [PATCH] add err msg --- storage/ctc/ha_ctc.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/ctc/ha_ctc.cc b/storage/ctc/ha_ctc.cc index 994054c..065aa7d 100644 --- a/storage/ctc/ha_ctc.cc +++ b/storage/ctc/ha_ctc.cc @@ -4599,6 +4599,7 @@ EXTER_ATTACK bool ctc_drop_database_with_err(handlerton *hton, char *path) { ret, db_name, error_code, error_message); if (ret != CT_SUCCESS) { ctc_log_error("drop database failed with error code: %d", convert_ctc_error_code_to_mysql((ct_errno_t)ret)); + my_printf_error(ER_BAD_DB_ERROR, "%s", MYF(0), error_message); END_RECORD_STATS(EVENT_TYPE_DROP_DB) return true; } -- Gitee