Fix merge errors.
This commit is contained in:
parent
7aa089e1f9
commit
d191caca98
|
@ -2895,12 +2895,12 @@ static int32_t mndLoopHash(SHashObj *hash, char *priType, SSDataBlock *pBlock, i
|
||||||
if (nodesStringToNode(value, &pAst) == 0) {
|
if (nodesStringToNode(value, &pAst) == 0) {
|
||||||
if (nodesNodeToSQL(pAst, *sql, bufSz, &sqlLen) != 0) {
|
if (nodesNodeToSQL(pAst, *sql, bufSz, &sqlLen) != 0) {
|
||||||
sqlLen = 5;
|
sqlLen = 5;
|
||||||
tsnprintf(*sql, bufSz + 1, "error");
|
tsnprintf(*sql, bufSz, "error");
|
||||||
}
|
}
|
||||||
nodesDestroyNode(pAst);
|
nodesDestroyNode(pAst);
|
||||||
} else {
|
} else {
|
||||||
sqlLen = 5;
|
sqlLen = 5;
|
||||||
tsnprintf(*sql, bufSz + 1, "error");
|
tsnprintf(*sql, bufSz, "error");
|
||||||
}
|
}
|
||||||
|
|
||||||
STR_WITH_MAXSIZE_TO_VARSTR((*condition), (*sql), pShow->pMeta->pSchemas[cols].bytes);
|
STR_WITH_MAXSIZE_TO_VARSTR((*condition), (*sql), pShow->pMeta->pSchemas[cols].bytes);
|
||||||
|
|
Loading…
Reference in New Issue