提交 ff6386fa 编写于 作者: S Shuduo Sang

fix uninitialized variable when invalid mode.

上级 46b8cc88
......@@ -4611,6 +4611,7 @@ static int64_t execInsert(threadInfo *pThreadInfo, char *buffer, int k)
} else {
errorPrint("%s() LN%d: unknown insert mode: %s\n",
__func__, __LINE__, superTblInfo->insertMode);
affectedRows = 0;
}
} else {
affectedRows = queryDbExec(pThreadInfo->taos, buffer, INSERT_TYPE, false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册