[td-225] fix creating existed db tsdb does not response with error message
This commit is contained in:
parent
a12e0d7320
commit
63a256a444
|
@ -818,7 +818,7 @@ void setCreateDBSQL(SSqlInfo *pInfo, int32_t type, SSQLToken *pToken, SCreateDBI
|
|||
|
||||
pInfo->pDCLInfo->dbOpt = *pDB;
|
||||
pInfo->pDCLInfo->dbOpt.dbname = *pToken;
|
||||
pInfo->pDCLInfo->dbOpt.ignoreExists = (pIgExists != NULL);
|
||||
pInfo->pDCLInfo->dbOpt.ignoreExists = (pIgExists->z != NULL);
|
||||
}
|
||||
|
||||
void setCreateAcctSQL(SSqlInfo *pInfo, int32_t type, SSQLToken *pName, SSQLToken *pPwd, SCreateAcctSQL *pAcctInfo) {
|
||||
|
|
Loading…
Reference in New Issue