From f5edf0c679801d57731d7c9bd7a4dd1170437e58 Mon Sep 17 00:00:00 2001 From: dmchen Date: Mon, 22 Jul 2024 08:01:01 +0000 Subject: [PATCH] error str --- source/dnode/mnode/impl/src/mndShow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/mnode/impl/src/mndShow.c b/source/dnode/mnode/impl/src/mndShow.c index d4a28d75ca..894d888e2d 100644 --- a/source/dnode/mnode/impl/src/mndShow.c +++ b/source/dnode/mnode/impl/src/mndShow.c @@ -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; }