code: func DeleteDoneRecord(ctx sessionctx.Context, dr DelRangeTask) error {
  	sql := fmt.Sprintf(deleteDoneRecordSQL, dr.JobID, dr.ElementID)
  	_, err := ctx.(sqlexec.SQLExecutor).Execute(context.TODO(), sql)
  	return errors.Trace(err)
  }
docs: // DeleteDoneRecord removes a record from gc_delete_range_done table.