diff --git a/storage/ctc/ha_ctc.cc b/storage/ctc/ha_ctc.cc index 994054ce147002c2ef39b12819d2e6c2619ebcef..065aa7d3722248bc2d01c8183bf7e56995eff369 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; }