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 2014/04/29 19:42:25 UTC

svn commit: r1591028 - /subversion/trunk/subversion/libsvn_fs_fs/cached_data.c

Author: stefan2
Date: Tue Apr 29 17:42:25 2014
New Revision: 1591028

URL: http://svn.apache.org/r1591028
Log:
Follow-up to r1591005:
Fix coding snafu that would cause the fulltexts to *not* be limited.

* subversion/libsvn_fs_fs/cached_data.c
  (svn_fs_fs__get_contents): Actually disable the fulltext caching in
                             the baton - not some local variable.

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

Modified: subversion/trunk/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/cached_data.c?rev=1591028&r1=1591027&r2=1591028&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/cached_data.c Tue Apr 29 17:42:25 2014
@@ -2027,7 +2027,7 @@ svn_fs_fs__get_contents(svn_stream_t **c
         {
           /* This will also prevent the reconstructed fulltext from being
              put into the cache. */
-          fulltext_cache_key.revision = SVN_INVALID_REVNUM;
+          rb->fulltext_cache_key.revision = SVN_INVALID_REVNUM;
         }
 
       *contents_p = svn_stream_create(rb, pool);