提交 26d2c9e6 编写于 作者: X Xiaoyu Wang

fix: top function with order by clause

上级 98a9789c
...@@ -190,6 +190,8 @@ class PlannerTestBaseImpl { ...@@ -190,6 +190,8 @@ class PlannerTestBaseImpl {
string acctId_; string acctId_;
string db_; string db_;
int32_t nsql_; int32_t nsql_;
caseEnv() : nsql_(0) {}
}; };
struct stmtEnv { struct stmtEnv {
...@@ -197,6 +199,7 @@ class PlannerTestBaseImpl { ...@@ -197,6 +199,7 @@ class PlannerTestBaseImpl {
array<char, 1024> msgBuf_; array<char, 1024> msgBuf_;
SQuery* pQuery_; SQuery* pQuery_;
stmtEnv() : pQuery_(nullptr) {}
~stmtEnv() { qDestroyQuery(pQuery_); } ~stmtEnv() { qDestroyQuery(pQuery_); }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册