- changed milestone to 0.3.9
Typo at Mapper.delete_obj
Issue #586
resolved
Using 2693 some delete operations fail with a {{{sqlalchemy.exceptions.ConcurrentModificationError: Updated rowcount 3 does not match number of objects updated 3 }}} triggered at {{{Module sqlalchemy.orm.mapper:1296 in delete_obj}}}.
Probably due a typo since the check which triggers the exception looks at {{{c.rowcount }} while the message looks at {{{c.cursor.rowcount}}} (hence the exception always says "x doesn't match x")
The attached path fixes it.
Alberto
Comments (3)
-
repo owner -
- changed status to resolved
Fixed in 91e511cce53792f6348a5b471e84c67dea15eb9a, thanks.
-
repo owner - removed milestone
Removing milestone: 0.3.9 (automated comment)
- Log in to comment