You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/05/03 17:13:20 UTC
svn commit: r1099089 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: philip
Date: Tue May 3 15:13:19 2011
New Revision: 1099089
URL: http://svn.apache.org/viewvc?rev=1099089&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
(op_delete_txn): Delete orphaned locks to PASS entries-compat-test 3.
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=1099089&r1=1099088&r2=1099089&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Tue May 3 15:13:19 2011
@@ -5149,6 +5149,12 @@ op_delete_txn(void *baton,
SVN_ERR(svn_sqlite__bindf(stmt, "iss",
wcroot->wc_id, local_relpath, like_arg));
SVN_ERR(svn_sqlite__step_done(stmt));
+
+ SVN_ERR(svn_sqlite__get_statement(&stmt, wcroot->sdb,
+ STMT_DELETE_WC_LOCK_ORPHAN_RECURSIVE));
+ SVN_ERR(svn_sqlite__bindf(stmt, "iss", wcroot->wc_id,
+ local_relpath, like_arg));
+ SVN_ERR(svn_sqlite__step_done(stmt));
if (add_work)
{