https://issues.apache.org/bugzilla/show_bug.cgi?id=54313
Bug ID: 54313
Summary: return code of method 'store' introduced
incompatibility with session package and other
existing code
Product: Rivet
Version: 2.1.0
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: DIO
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Method 'store' in class ::Database returns what returned by methods 'insert'
(for a new row) or 'update' (for an existing row). Previously 'store' returned
invariably 1 on normal execution of the method, making it a unusuable value for
having insight in what the method did internally (this behaviour is
undocumented in the manual). Package Session's 'store' method turned out to
test this value to detect error conditions thus it fails when a call to 'store'
doesn't change any value in an existing row. To prevent other incompatibilities
the old behaviour will be reinstated in the code in 'trunk'.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]