1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-3672 Fix regression in deletes

Deletes appear to only use the direct delete path. This allows that to
happen.
This commit is contained in:
Andrew Hutchings
2019-12-13 07:33:29 +00:00
parent 9734a25a35
commit b7396129c7
3 changed files with 11 additions and 5 deletions

View File

@ -2281,12 +2281,18 @@ int ha_mcs_impl_discover_existence(const char* schema, const char* name)
return 0;
}
int ha_mcs_impl_direct_update_delete_rows(ha_rows *affected_rows)
int ha_mcs_impl_direct_update_delete_rows(bool execute, ha_rows *affected_rows)
{
THD* thd = current_thd;
int rc = 0;
cal_impl_if::gp_walk_info gwi;
gwi.thd = thd;
if (execute)
{
rc = doUpdateDelete(thd, gwi);
}
cal_connection_info* ci = reinterpret_cast<cal_connection_info*>(get_fe_conn_info_ptr());
if (ci)
{