Merge branch 'enh/3.0' into enh/triggerCheckPoint2

This commit is contained in:
yihaoDeng 2023-08-22 10:51:39 +08:00
parent d106b5a87e
commit 2c1ca6d325
1 changed files with 2 additions and 2 deletions

View File

@ -1446,8 +1446,8 @@ int32_t streamStateOpenBackendCf(void* backend, char* name, char** cfs, int32_t
}
// close default cf
if (((rocksdb_column_family_handle_t**)cfHandle)[0] != 0) {
// rocksdb_column_family_handle_destroy(cfHandle[0]);
// cfHandle[0] = NULL;
rocksdb_column_family_handle_destroy(cfHandle[0]);
cfHandle[0] = NULL;
}
rocksdb_options_destroy(cfOpts[0]);