You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/08/23 13:12:06 UTC
svn commit: r1160630 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: rhuijben
Date: Tue Aug 23 11:12:06 2011
New Revision: 1160630
URL: http://svn.apache.org/viewvc?rev=1160630&view=rev
Log:
Remove a few unnecessary svn_sqlite__reset() calls from wc_db.c.
(svn_sqlite__step_done() performs a reset).
* subversion/libsvn_wc/wc_db.c
(op_revert_txn,
op_revert_recursive_txn,
op_delete_txn): Remove unneeded function call.
Modified:
subversion/trunk/subversion/libsvn_wc/wc_db.c
Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1160630&r1=1160629&r2=1160630&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Tue Aug 23 11:12:06 2011
@@ -5303,7 +5303,6 @@ op_revert_txn(void *baton,
STMT_CLEAR_MOVED_TO_RELPATH));
SVN_ERR(svn_sqlite__bindf(stmt, "is", wcroot->wc_id, local_relpath));
SVN_ERR(svn_sqlite__step_done(stmt));
- SVN_ERR(svn_sqlite__reset(stmt));
}
SVN_ERR(svn_sqlite__get_statement(&stmt, wcroot->sdb,
@@ -5440,7 +5439,6 @@ op_revert_recursive_txn(void *baton,
STMT_CLEAR_MOVED_TO_RELPATH_RECURSIVE));
SVN_ERR(svn_sqlite__bindf(stmt, "is", wcroot->wc_id, local_relpath));
SVN_ERR(svn_sqlite__step_done(stmt));
- SVN_ERR(svn_sqlite__reset(stmt));
return SVN_NO_ERROR;
}
@@ -6295,7 +6293,6 @@ op_delete_txn(void *baton,
SVN_ERR(svn_sqlite__bindf(stmt, "iss", wcroot->wc_id,
moved_from_relpath, b->moved_to_relpath));
SVN_ERR(svn_sqlite__step_done(stmt));
- SVN_ERR(svn_sqlite__reset(stmt));
}
/* If a subtree is being moved-away, we need to update moved-to