You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-2178 Functions with constant args are processed by CS now.
Fix crash in ha_calpont_impl_close_connection() Fix leak in ci.tableMap. Removed extra returns in pushdown_init to avoid crashes. create_select_handler now detects INSERT..SELECT. buildConstColFromFilter now uses any kind of filter to supply relevant columns. Remove strings used by vtable redo phase. Make FromSubQuery aware of Pushdown handlers. Changed debug_walk to work around changed Item framework. Temporary disabled derived handler and unsupported features checks.
This commit is contained in:
committed by
Gagan Goel
parent
b4d1cbc529
commit
3074b6c4b3
@ -322,9 +322,12 @@ ParseTree* setDerivedFilter(THD* thd, ParseTree*& n,
|
||||
FromSubQuery::FromSubQuery(gp_walk_info& gwip) : SubQuery(gwip)
|
||||
{}
|
||||
|
||||
FromSubQuery::FromSubQuery(gp_walk_info& gwip, SELECT_LEX* sub) :
|
||||
SubQuery(gwip),
|
||||
fFromSub(sub)
|
||||
FromSubQuery::FromSubQuery(gp_walk_info& gwip,
|
||||
SELECT_LEX* sub,
|
||||
bool isPushdownHandler) :
|
||||
SubQuery(gwip),
|
||||
fFromSub(sub),
|
||||
fPushdownHand(isPushdownHandler)
|
||||
{}
|
||||
|
||||
FromSubQuery::~FromSubQuery()
|
||||
@ -345,7 +348,7 @@ SCSEP FromSubQuery::transform()
|
||||
gwi.viewName = fGwip.viewName;
|
||||
csep->derivedTbAlias(fAlias); // always lower case
|
||||
|
||||
if (getSelectPlan(gwi, *fFromSub, csep) != 0)
|
||||
if (getSelectPlan(gwi, *fFromSub, csep, fPushdownHand) != 0)
|
||||
{
|
||||
fGwip.fatalParseError = true;
|
||||
|
||||
|
Reference in New Issue
Block a user