提交 cd062fdb 编写于 作者: H Hongze Cheng

TD-353

上级 b71ec852
...@@ -386,7 +386,7 @@ static SKVStore *tdNewKVStore(char *fname, iterFunc iFunc, afterFunc aFunc, void ...@@ -386,7 +386,7 @@ static SKVStore *tdNewKVStore(char *fname, iterFunc iFunc, afterFunc aFunc, void
if (pStore == NULL) goto _err; if (pStore == NULL) goto _err;
pStore->fname = strdup(fname); pStore->fname = strdup(fname);
if (pStore->map == NULL) { if (pStore->fname == NULL) {
terrno = TSDB_CODE_COM_OUT_OF_MEMORY; terrno = TSDB_CODE_COM_OUT_OF_MEMORY;
goto _err; goto _err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册