[td-314] update sim
This commit is contained in:
parent
efdc515952
commit
7baed33533
|
@ -1465,7 +1465,6 @@ static int32_t setExprInfoForFunctions(SQueryInfo* pQueryInfo, SSchema* pSchema,
|
|||
|
||||
int32_t addExprAndResultField(SQueryInfo* pQueryInfo, int32_t colIndex, tSQLExprItem* pItem, bool finalResult) {
|
||||
STableMetaInfo* pTableMetaInfo = NULL;
|
||||
|
||||
int32_t optr = pItem->pNode->nSQLOptr;
|
||||
|
||||
const char* msg1 = "not support column types";
|
||||
|
|
|
@ -640,7 +640,7 @@ bool simExecuteNativeSqlCommand(SScript *script, char *rest, bool isSlow) {
|
|||
for (int attempt = 0; attempt < 3; ++attempt) {
|
||||
simLogSql(rest);
|
||||
pSql = taos_query(script->taos, rest);
|
||||
ret = terrno;
|
||||
ret = taos_errno(pSql);
|
||||
|
||||
if (ret == TSDB_CODE_TABLE_ALREADY_EXIST ||
|
||||
ret == TSDB_CODE_DB_ALREADY_EXIST) {
|
||||
|
@ -922,8 +922,7 @@ bool simExecuteSqlErrorCmd(SScript *script, char *rest) {
|
|||
}
|
||||
else {
|
||||
pSql = taos_query(script->taos, rest);
|
||||
ret = terrno;
|
||||
|
||||
ret = taos_errno(pSql);
|
||||
taos_free_result(pSql);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue