fix: top function with order by clause
This commit is contained in:
parent
98a9789c7e
commit
26d2c9e63d
|
@ -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 {
|
||||||
array<char, 1024> msgBuf_;
|
array<char, 1024> msgBuf_;
|
||||||
SQuery* pQuery_;
|
SQuery* pQuery_;
|
||||||
|
|
||||||
|
stmtEnv() : pQuery_(nullptr) {}
|
||||||
~stmtEnv() { qDestroyQuery(pQuery_); }
|
~stmtEnv() { qDestroyQuery(pQuery_); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue