提交 74bd4086 编写于 作者: H huili

[issue #102]

上级 60673a9f
......@@ -395,6 +395,10 @@ int32_t tscToSQLCmd(SSqlObj* pSql, struct SSqlInfo* pInfo) {
return TSDB_CODE_INVALID_SQL;
}
strdequote(pToken->z);
strtrim(pToken->z);
pToken->n = strlen(pToken->z);
if (setMeterID(pSql, pToken) != TSDB_CODE_SUCCESS) {
setErrMsg(pCmd, msg, tListLen(msg));
return TSDB_CODE_INVALID_SQL;
......@@ -3989,4 +3993,4 @@ int32_t parseCreateDBOptions(SCreateDBInfo* pCreateDbSql, SSqlCmd* pCmd) {
}
return TSDB_CODE_SUCCESS;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册