1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4152 Reset cond_stack with ha_mcs::reset() call

This commit is contained in:
Roman Nozdrin
2020-07-13 13:18:57 +00:00
parent d41a4739de
commit 6b3c6e33c5
2 changed files with 15 additions and 0 deletions

View File

@ -1156,6 +1156,20 @@ void ha_mcs::cond_pop()
DBUG_VOID_RETURN;
}
int ha_mcs::reset()
{
DBUG_ENTER("ha_mcs::reset");
if (!condStack.empty())
{
condStack.clear();
}
DBUG_RETURN(0);
}
int ha_mcs::repair(THD* thd, HA_CHECK_OPT* check_opt)
{
DBUG_ENTER("ha_mcs::repair");

View File

@ -215,6 +215,7 @@ public:
int rnd_end();
int rnd_next(uchar* buf); ///< required
int rnd_pos(uchar* buf, uchar* pos); ///< required
int reset() override;
void position(const uchar* record); ///< required
int info(uint32_t); ///< required
int extra(enum ha_extra_function operation);