Destroy the writer object.
mco_fh_ret mco_fh_writer_destroy(/*IN*/ mco_fh_writer_h wr);
wr | The writer handle |
This function destroys a writer object.
MCO_FH_OK | Writer successfully destroyed |
MCO_FH_E_BAD_HANDLE | The writer handle is invalid |
... std::vector<TableInfo>::iterator it; for (it = tables.begin(); it != tables.end(); ++it) { mco_fh_record_destroy(it->record); mco_fh_writer_destroy(it->writer); } ...