Merge pull request #109 from plum-lihui/master
Fix the issure #102, describe table bug when the table name use capital letters
This commit is contained in:
commit
7c744dabd6
|
@ -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;
|
||||
|
@ -4026,4 +4030,4 @@ int32_t parseCreateDBOptions(SCreateDBInfo* pCreateDbSql, SSqlCmd* pCmd) {
|
|||
}
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue