Avoid creating the same ID task multiple times
This commit is contained in:
parent
1571ea844a
commit
420ae73728
|
@ -128,7 +128,9 @@ void* streamBackendInit(const char* path) {
|
||||||
*/
|
*/
|
||||||
streamStateOpenBackendCf(pHandle, (char*)path, cfs, nCf);
|
streamStateOpenBackendCf(pHandle, (char*)path, cfs, nCf);
|
||||||
}
|
}
|
||||||
rocksdb_list_column_families_destroy(cfs, nCf);
|
if (cfs != NULL) {
|
||||||
|
rocksdb_list_column_families_destroy(cfs, nCf);
|
||||||
|
}
|
||||||
|
|
||||||
return (void*)pHandle;
|
return (void*)pHandle;
|
||||||
_EXIT:
|
_EXIT:
|
||||||
|
|
Loading…
Reference in New Issue