From 8c05d36082850d830135c85555bfc160b0a22735 Mon Sep 17 00:00:00 2001 From: slguan Date: Mon, 13 Jan 2020 19:03:01 +0800 Subject: [PATCH] for async test --- src/modules/http/src/restHandle.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/http/src/restHandle.c b/src/modules/http/src/restHandle.c index 58509e693d..a307700866 100644 --- a/src/modules/http/src/restHandle.c +++ b/src/modules/http/src/restHandle.c @@ -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; -- GitLab