From 9dfce04f22680759e67b4cafa3f05b2b9743db58 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Fri, 12 Mar 2021 19:23:01 +0800 Subject: [PATCH] fix bug --- src/client/src/tscSQLParser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index d53a734081..2ff1775ecf 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -331,6 +331,8 @@ int32_t handleCreateFunc(SSqlObj* pSql, struct SSqlInfo* pInfo) { SDropFuncMsg *pMsg = (SDropFuncMsg *)pSql->cmd.payload; + t0->z[t0->n] = 0; + strdequote(t0->z); if (strlen(t0->z) >= TSDB_FUNC_NAME_LEN) { -- GitLab