提交 83f7c7c2 编写于 作者: A Alex Duan

fix(shell): forbid record password in taos_history file

上级 1cc0df89
...@@ -142,7 +142,7 @@ int32_t shellRunCommand(char *command, bool recordHistory) { ...@@ -142,7 +142,7 @@ int32_t shellRunCommand(char *command, bool recordHistory) {
} }
// add help or help; // add help or help;
if(strncasecmp(command, "help ", 5) == 0) { if(strncasecmp(command, "help;", 5) == 0) {
showHelp(); showHelp();
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册