示例#1
0
void index_free(struct index *idx)
{
	_index_flush(idx);
	pthread_attr_destroy(&idx->attr);
	log_free(idx->log);
	close(idx->db_rfd);
	sst_free(idx->sst);
	free(idx->park);
	free(idx);
}
static void ontx_end(sst_t* self) {
  sst_free(self);
}
示例#3
0
static void ondst_end(sst_t* self) {
  end_dst_called++;
  sst_free(self);
}
示例#4
0
static void onreversetx_end(sst_t* self) {
  end_reversetx_called++;
  sst_free(self);
}
示例#5
0
static void onuppertx_end(sst_t* self) {
  end_uppertx_called++;
  sst_free(self);
}
示例#6
0
static void onsrc_end(sst_t* self) {
  end_src_called++;
  sst_free(self);
}