未验证 提交 afcae358 编写于 作者: S slguan 提交者: GitHub

Merge pull request #1401 from sangshuduo/fix-uninit-var-of-schedMsg-of-mgmtDnodeInt

Fix uninit var of sched msg of mgmt dnode int
......@@ -67,6 +67,7 @@ int taosSendMsgToDnode(SDnodeObj *pObj, char *msg, int msgLen) {
* Lite version has no message header, so minus one
*/
SSchedMsg schedMsg;
schedMsg.tfp = NULL;
schedMsg.fp = vnodeProcessMsgFromMgmtSpec;
schedMsg.msg = msg - 1;
schedMsg.ahandle = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册