Subject: [Boost-bugs] [Boost C++ Libraries] #12542: multi_index constraint violation if rollback callable is passed, but doesn't correct the issue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-21 21:03:19
#12542: multi_index constraint violation if rollback callable is passed, but
doesn't correct the issue
----------------------------------+-------------------------
Reporter: Jon Kalb <jonkalb@â¦> | Owner: joaquin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
----------------------------------+-------------------------
If modify() is called taking two callables (the modifier and the rollback)
in which the modifier changes a value one the element that results in the
element not being acceptable (because a unique index would have a
duplicate entry), then the rollback callable is called to correct the
issue.
If the rollback callable does not correct the issue, the modification is
committed anyway which leads to corruption of the unique index(es)
involved.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12542> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC