提交 c6c3d96c 编写于 作者: H Hui Li

[TD-880]

上级 ee5038ea
......@@ -56,6 +56,8 @@ void taosRename(char* oldName, char *newName) {
return;
}
// if newName in not empty, rename return fail.
// the newName must be empty or does not exist
if (rename(oldName, newName)) {
uError("%s is modify to %s fail, reason:%s", oldName, newName, strerror(errno));
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册