~iffy/storm/stringbug

Viewing all changes in revision 142.2.2.

  • Committer: Gustavo Niemeyer
  • Date: 2007-07-18 17:30:49 UTC
  • mto: This revision was merged to the branch mainline in revision 162.
  • Revision ID: gustavo@niemeyer.net-20070718173049-qf5jwizha4esb3l1
- When an object died in memory, ResultSet.cached() wasn't returning
  the object for this obj_info.  As a consequence, ResultSet.set()
  wouldn't updated the obj_info that was still in memory, and then
  once the object was retrieved from cache (and thus rebuilt with the
  same obj_info), it would have out-of-date information.
- Tests were added ensuring that both methods (ResultSet.cached/set)
  work correctly under that situation.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: