1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -360,14 +360,14 @@ int ha_mcs::direct_update_rows_init(List<Item> *update_fields)
int ha_mcs::direct_update_rows(ha_rows *update_rows)
{
DBUG_ENTER("ha_mcs::direct_update_rows");
int rc = ha_mcs_impl_direct_update_delete_rows(update_rows);
int rc = ha_mcs_impl_direct_update_delete_rows(false, update_rows);
DBUG_RETURN(rc);
}
int ha_mcs::direct_update_rows(ha_rows *update_rows, ha_rows *found_rows)
{
DBUG_ENTER("ha_mcs::direct_update_rows");
int rc = ha_mcs_impl_direct_update_delete_rows(update_rows);
int rc = ha_mcs_impl_direct_update_delete_rows(false, update_rows);
*found_rows = *update_rows;
DBUG_RETURN(rc);
}
@ -381,7 +381,7 @@ int ha_mcs::direct_delete_rows_init()
int ha_mcs::direct_delete_rows(ha_rows *deleted_rows)
{
DBUG_ENTER("ha_mcs::direct_delete_rows");
int rc = ha_mcs_impl_direct_update_delete_rows(deleted_rows);
int rc = ha_mcs_impl_direct_update_delete_rows(true, deleted_rows);
DBUG_RETURN(rc);
}
/**