python.ovs.db.idl: Fix Row.delete() of a row already committed to the db.
authorBen Pfaff <blp@nicira.com>
Mon, 8 Apr 2013 17:44:40 +0000 (10:44 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 8 Apr 2013 17:44:40 +0000 (10:44 -0700)
commit8d3efc1c0ef61d395573b173fea9e5e5f4e30bc3
tree8f22f239b2d37c1ec0a7085512e42089618815f9
parented87900d26173df84a3814f993d1b6a31aa472a5
python.ovs.db.idl: Fix Row.delete() of a row already committed to the db.

Row.delete() handled the case of deleting a row that was added within the
current transaction, but not yet committed, but it did not correctly handle
the case of deleting a row that belonged to the database before the
transaction started.  This fixes the problem.

Reported-by: Yeming Zhao <zhaoyeming@gmail.com>
Tested-by: Yeming Zhao <zhaoyeming@gmail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
python/ovs/db/idl.py