提交 9c8507cd 编写于 作者: Y yihaoDeng

[TD-4506]<fix> return valid msg when no db specified

上级 8543ac4e
...@@ -7186,8 +7186,9 @@ static int32_t getTableNameFromSqlNode(SSqlNode* pSqlNode, SArray* tableNameList ...@@ -7186,8 +7186,9 @@ static int32_t getTableNameFromSqlNode(SSqlNode* pSqlNode, SArray* tableNameList
} }
SName name = {0}; SName name = {0};
if (tscSetTableFullName(&name, t, pSql) != TSDB_CODE_SUCCESS) { int32_t code = tscSetTableFullName(&name, t, pSql);
return invalidOperationMsg(msgBuf, msg1); if (code != TSDB_CODE_SUCCESS) {
return code;
} }
taosArrayPush(tableNameList, &name); taosArrayPush(tableNameList, &name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册