fix some problem
This commit is contained in:
parent
ec27e0e0d7
commit
412c2efd33
|
@ -2142,7 +2142,6 @@ static int32_t parseOneStbRow(SInsertParseContext* pCxt, SVnodeModifyOpStmt* pSt
|
||||||
if (pCxt->isStmtBind) {
|
if (pCxt->isStmtBind) {
|
||||||
int32_t tbnameIdx = getTbnameSchemaIndex(pStbRowsCxt->pStbMeta);
|
int32_t tbnameIdx = getTbnameSchemaIndex(pStbRowsCxt->pStbMeta);
|
||||||
code = initTableColSubmitDataWithBoundInfo(*ppTableDataCxt, ctbCols);
|
code = initTableColSubmitDataWithBoundInfo(*ppTableDataCxt, ctbCols);
|
||||||
insDestroyBoundColInfo(&ctbCols);
|
|
||||||
} else {
|
} else {
|
||||||
code = initTableColSubmitData(*ppTableDataCxt);
|
code = initTableColSubmitData(*ppTableDataCxt);
|
||||||
}
|
}
|
||||||
|
@ -2162,6 +2161,7 @@ static int32_t parseOneStbRow(SInsertParseContext* pCxt, SVnodeModifyOpStmt* pSt
|
||||||
}
|
}
|
||||||
|
|
||||||
clearStbRowsDataContext(pStbRowsCxt);
|
clearStbRowsDataContext(pStbRowsCxt);
|
||||||
|
insDestroyBoundColInfo(&ctbCols);
|
||||||
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue