diff --git a/storage/ctc/ha_ctc.cc b/storage/ctc/ha_ctc.cc index b9703e6089d6805e3b8116bb921f3c10524f780e..9817d05305396a146a832fd64b8b09043d29f997 100644 --- a/storage/ctc/ha_ctc.cc +++ b/storage/ctc/ha_ctc.cc @@ -4612,6 +4612,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; }