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/10 16:12:55 UTC
svn commit: r995799 - /subversion/trunk/subversion/libsvn_wc/wc-queries.sql
Author: ehu
Date: Fri Sep 10 14:12:55 2010
New Revision: 995799
URL: http://svn.apache.org/viewvc?rev=995799&view=rev
Log:
* subversion/libsvn_wc/wc-queries.sql
(STMT_UPDATE_NODE_WORKING_PRESENCE): Query NODES table in subquery.
Modified:
subversion/trunk/subversion/libsvn_wc/wc-queries.sql
Modified: subversion/trunk/subversion/libsvn_wc/wc-queries.sql
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc-queries.sql?rev=995799&r1=995798&r2=995799&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc-queries.sql (original)
+++ subversion/trunk/subversion/libsvn_wc/wc-queries.sql Fri Sep 10 14:12:55 2010
@@ -370,7 +370,7 @@ where wc_id = ?1 and local_relpath =?2;
-- STMT_UPDATE_NODE_WORKING_PRESENCE
update nodes set presence = ?3
where wc_id = ?1 and local_relpath = ?2
- and op_depth in (select op_depth from node_data
+ and op_depth in (select op_depth from nodes
where wc_id = ?1 and local_relpath = ?2
order by op_depth desc
limit 1);