subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1535715 - /subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c
Date Fri, 25 Oct 2013 12:44:41 GMT
Author: stefan2
Date: Fri Oct 25 12:44:40 2013
New Revision: 1535715

URL: http://svn.apache.org/r1535715
Log:
On the log-addressing branch:  Minor pool usage optimization.

* subversion/libsvn_fs_fs/transaction.c
  (upgrade_transaction): iterpool can be used as scratch_pool

Suggested by: philip

Modified:
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c?rev=1535715&r1=1535714&r2=1535715&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c Fri Oct 25 12:44:40
2013
@@ -3486,7 +3486,7 @@ upgrade_transaction(svn_fs_t *fs,
 
   /* scan the txn directory for noderev files and patch them up */
 
-  SVN_ERR(svn_io_get_dirents3(&dirents, txn_dir, TRUE, subpool, subpool));
+  SVN_ERR(svn_io_get_dirents3(&dirents, txn_dir, TRUE, subpool, iterpool));
   for (hi = apr_hash_first(subpool, dirents); hi; hi = apr_hash_next(hi))
     {
       apr_file_t *file;



Mime
View raw message