You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by bu...@apache.org on 2012/12/17 01:06:06 UTC
[Bug 54313] New: return code of method 'store' introduced
incompatibility with session package and other existing code
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: rivet-dev@tcl.apache.org
Reporter: mxmanghi@apache.org
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: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org
[Bug 54313] return code of method 'store' introduced incompatibility
with session package and other existing code
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54313
Massimo Manghi <mx...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Massimo Manghi <mx...@apache.org> ---
fixed in trunk
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org