You've already forked mariadb-columnstore-engine
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:
@ -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);
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user