MCPcopy Create free account
hub / github.com/MariaDB/server / ensure_database_remove

Method ensure_database_remove

storage/mroonga/ha_mroonga.cpp:4216–4235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4214}
4215
4216int ha_mroonga::ensure_database_remove(const char *name)
4217{
4218 int error;
4219
4220 MRN_DBUG_ENTER_METHOD();
4221
4222 error = mrn_change_encoding(ctx, system_charset_info);
4223 if (error)
4224 DBUG_RETURN(error);
4225
4226 delete operations_;
4227 operations_ = NULL;
4228
4229 mrn_db_manager->close(name);
4230
4231 mrn::PathMapper mapper(name);
4232 remove_related_files(mapper.db_path());
4233
4234 DBUG_RETURN(error);
4235}
4236
4237
4238int ha_mroonga::create(const char *name,

Callers

nothing calls this directly

Calls 3

mrn_change_encodingFunction · 0.85
db_pathMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected