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

Method remove

storage/mroonga/lib/mrn_database.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 grn_rc Database::remove() {
55 MRN_DBUG_ENTER_METHOD();
56 grn_rc rc = GRN_SUCCESS;
57 if (db_) {
58 grn_hash_close(ctx_, broken_table_names_);
59 broken_table_names_ = NULL;
60 rc = grn_obj_remove(ctx_, db_);
61 if (rc == GRN_SUCCESS) {
62 db_ = NULL;
63 }
64 }
65 DBUG_RETURN(rc);
66 }
67
68 grn_obj *Database::get() {
69 MRN_DBUG_ENTER_METHOD();

Callers 1

dropMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected