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 2013/10/25 14:44:41 UTC
svn commit: r1535715 -
/subversion/branches/log-addressing/subversion/libsvn_fs_fs/transaction.c
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;