| 4214 | } |
| 4215 | |
| 4216 | int 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 | |
| 4238 | int ha_mroonga::create(const char *name, |
nothing calls this directly
no test coverage detected