error str

This commit is contained in:
dmchen 2024-07-22 08:01:01 +00:00
parent 116fc722b5
commit f5edf0c679
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static SShowObj *mndCreateShowObj(SMnode *pMnode, SRetrieveTableReq *pReq) {
SShowObj *pShow = taosCachePut(pMgmt->cache, &showId, sizeof(int64_t), &showObj, size, keepTime);
if (pShow == NULL) {
terrno = TSDB_CODE_OUT_OF_MEMORY;
mError("show:0x%" PRIx64 ", failed to put into cache since %s", showId, tstrerror(code));
mError("show:0x%" PRIx64 ", failed to put into cache since %s", showId, terrstr());
return NULL;
}