for async test

This commit is contained in:
slguan 2020-01-13 19:03:01 +08:00
parent 4000b0e9ad
commit 8c05d36082
1 changed files with 6 additions and 0 deletions

View File

@ -67,10 +67,16 @@ bool restProcessSqlRequest(HttpContext* pContext, int timestampFmt) {
return false;
}
/*
* for async test
* /
/*
if (httpCheckUsedbSql(sql)) {
httpSendErrorResp(pContext, HTTP_NO_EXEC_USEDB);
return false;
}
*/
HttpSqlCmd* cmd = &(pContext->singleCmd);
cmd->nativSql = sql;