You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
fix(plugin): Fix wrong ask for stat call for table mode
This commit is contained in:
@ -2717,7 +2717,7 @@ int ha_mcs_impl_rnd_end(TABLE* table, bool is_pushdown_hand)
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
bool ask_4_stats = (ci->traceFlags) ? true : false;
|
bool ask_4_stats = (is_pushdown_hand && ci->traceFlags) ? true : false;
|
||||||
sm::tpl_close(ti.tpl_ctx, &hndl, ci->stats, ask_4_stats);
|
sm::tpl_close(ti.tpl_ctx, &hndl, ci->stats, ask_4_stats);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user