fix: fix ut case issue
This commit is contained in:
parent
94a2b6d945
commit
4ff652bf41
|
@ -54,12 +54,6 @@ class ParserDdlTest : public ParserTestBase {
|
||||||
virtual void checkDdl(const SQuery* pQuery, ParserStage stage) {
|
virtual void checkDdl(const SQuery* pQuery, ParserStage stage) {
|
||||||
ASSERT_NE(pQuery, nullptr);
|
ASSERT_NE(pQuery, nullptr);
|
||||||
ASSERT_NE(pQuery->pRoot, nullptr);
|
ASSERT_NE(pQuery->pRoot, nullptr);
|
||||||
if (QUERY_EXEC_MODE_RPC == pQuery->execMode) {
|
|
||||||
ASSERT_EQ(pQuery->haveResultSet, false);
|
|
||||||
ASSERT_EQ(pQuery->numOfResCols, 0);
|
|
||||||
ASSERT_EQ(pQuery->pResSchema, nullptr);
|
|
||||||
ASSERT_EQ(pQuery->precision, 0);
|
|
||||||
}
|
|
||||||
if (nullptr != checkDdl_) {
|
if (nullptr != checkDdl_) {
|
||||||
checkDdl_(pQuery, stage);
|
checkDdl_(pQuery, stage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue