1
0
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:
Leonid Fedorov
2023-09-26 14:43:06 +03:00
committed by GitHub
parent a97ff73cea
commit 5013717730

View File

@ -2717,7 +2717,7 @@ int ha_mcs_impl_rnd_end(TABLE* table, bool is_pushdown_hand)
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);
}