You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/03/06 19:20:07 UTC

svn commit: r1733817 - /subversion/trunk/subversion/libsvn_fs_x/cached_data.c

Author: stefan2
Date: Sun Mar  6 18:20:07 2016
New Revision: 1733817

URL: http://svn.apache.org/viewvc?rev=1733817&view=rev
Log:
Follow-up to r1733816: Logic fix.

* subversion/libsvn_fs_x/cached_data.c
  (svn_fs_x__get_changes): Directly return the block read from the cache.
                           It may not contain ALL changes, i.e. it already
                           is the restricted sub-set we want.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/cached_data.c

Modified: subversion/trunk/subversion/libsvn_fs_x/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/cached_data.c?rev=1733817&r1=1733816&r2=1733817&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/cached_data.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/cached_data.c Sun Mar  6 18:20:07 2016
@@ -2852,7 +2852,7 @@ svn_fs_x__get_changes(apr_array_header_t
                                                context->revision);
       key.second = offset;
 
-      SVN_ERR(svn_cache__get_partial((void **)&all, &found,
+      SVN_ERR(svn_cache__get_partial((void **)changes, &found,
                                      ffd->changes_container_cache, &key,
                                      svn_fs_x__changes_get_list_func,
                                      &baton, result_pool));