adj error code
This commit is contained in:
parent
70b7862089
commit
3826fec13d
|
@ -4708,8 +4708,7 @@ int32_t tsdbReaderOpen2(void* pVnode, SQueryTableDataCond* pCond, void* pTableLi
|
||||||
pReader->pSchemaMap = tSimpleHashInit(8, taosFastHash);
|
pReader->pSchemaMap = tSimpleHashInit(8, taosFastHash);
|
||||||
if (pReader->pSchemaMap == NULL) {
|
if (pReader->pSchemaMap == NULL) {
|
||||||
tsdbError("failed init schema hash for reader %s", pReader->idStr);
|
tsdbError("failed init schema hash for reader %s", pReader->idStr);
|
||||||
code = TSDB_CODE_OUT_OF_MEMORY;
|
TSDB_CHECK_NULL(pReader->pSchemaMap, code, lino, _err, terrno);
|
||||||
goto _err;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tSimpleHashSetFreeFp(pReader->pSchemaMap, freeSchemaFunc);
|
tSimpleHashSetFreeFp(pReader->pSchemaMap, freeSchemaFunc);
|
||||||
|
|
Loading…
Reference in New Issue