Changeset 577
- Timestamp:
- 07/31/09 22:12:57 (4 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
Changes (modified) (1 diff)
-
lib/Data/ObjectDriver/Driver/BaseCache.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changes
r568 r577 3 3 Revision history for Data::ObjectDriver 4 4 0.07 5 - When an object is changed, delete the cache instead of updating it. 6 It is a bit more expensive, but should safer. 5 7 - Fixed a issue in the test suite for newer version of SQLite 6 8 reported by Emmanuel Seyman -
trunk/lib/Data/ObjectDriver/Driver/BaseCache.pm
r552 r577 227 227 my $key = $driver->cache_key(ref($obj), $obj->primary_key); 228 228 $driver->modify_cache(sub { 229 $driver->u pdate_cache($key, $driver->deflate($obj));229 $driver->uncache_object($obj); 230 230 }); 231 231 return $ret;
