fix invald read/write

This commit is contained in:
yihaoDeng 2023-06-12 02:24:49 +00:00
parent a2030dc378
commit ae7d5c79e5
1 changed files with 1 additions and 1 deletions

View File

@ -209,8 +209,8 @@ int32_t streamBackendDoCheckpoint(int64_t backendRid, const char* path) {
}
rocksdb_checkpoint_create(cp, path, 64 << 20, &err);
if (err != NULL) {
taosMemoryFree(err);
qError("stream backend:%p failed to do checkpoint at:%s, reason:%s", pHandle, path, err);
taosMemoryFree(err);
} else {
code = 0;
qDebug("stream backend:%p end to do checkpoint at:%s, time cost:%" PRId64 "ms", pHandle, path,