You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by eh...@apache.org on 2010/09/12 22:21:43 UTC
svn commit: r996382 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: ehu
Date: Sun Sep 12 20:21:43 2010
New Revision: 996382
URL: http://svn.apache.org/viewvc?rev=996382&view=rev
Log:
Commit all updates, not just the last one.
* subversion/libsvn_wc/wc_db.c
(start_directory_update_txn): Add _step_done() calls after each
update statement.
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=996382&r1=996381&r2=996382&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Sun Sep 12 20:21:43 2010
@@ -8205,6 +8205,7 @@ start_directory_update_txn(void *baton,
du->local_relpath,
presence_map, svn_wc__db_status_incomplete,
(apr_int64_t)du->new_rev));
+ SVN_ERR(svn_sqlite__step_done(stmt));
#endif
#ifdef SVN_WC__NODES
/* Just update revision and status */
@@ -8217,6 +8218,7 @@ start_directory_update_txn(void *baton,
du->local_relpath,
presence_map, svn_wc__db_status_incomplete,
(apr_int64_t)du->new_rev));
+ SVN_ERR(svn_sqlite__step_done(stmt));
#endif
}
else
@@ -8233,6 +8235,7 @@ start_directory_update_txn(void *baton,
presence_map, svn_wc__db_status_incomplete,
(apr_int64_t)du->new_rev,
du->new_repos_relpath));
+ SVN_ERR(svn_sqlite__step_done(stmt));
#endif
#ifdef SVN_WC__NODES
/* ### TODO: Maybe check if we can make repos_relpath NULL. */
@@ -8246,10 +8249,10 @@ start_directory_update_txn(void *baton,
presence_map, svn_wc__db_status_incomplete,
(apr_int64_t)du->new_rev,
du->new_repos_relpath));
+ SVN_ERR(svn_sqlite__step_done(stmt));
#endif
}
-
- return svn_error_return(svn_sqlite__step_done(stmt));
+ return SVN_NO_ERROR;
}
svn_error_t *