提交 cdaf97cb 编写于 作者: dengyihao's avatar dengyihao

validate tfile

上级 15c02753
...@@ -148,8 +148,7 @@ TFileReader* tfileReaderCreate(WriterCtx* ctx) { ...@@ -148,8 +148,7 @@ TFileReader* tfileReaderCreate(WriterCtx* ctx) {
if (0 != tfileReaderVerify(reader)) { if (0 != tfileReaderVerify(reader)) {
tfileReaderDestroy(reader); tfileReaderDestroy(reader);
indexError("failed to load index header, suid: %" PRIu64 ", colName: %s", reader->header.suid, indexError("invalid tfile, suid: %" PRIu64 ", colName: %s", reader->header.suid, reader->header.colName);
reader->header.colName);
return NULL; return NULL;
} }
// T_REF_INC(reader); // T_REF_INC(reader);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册