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 2010/09/23 17:43:46 UTC
svn commit: r1000503 - /subversion/trunk/subversion/libsvn_wc/wc-queries.sql
Author: philip
Date: Thu Sep 23 15:43:46 2010
New Revision: 1000503
URL: http://svn.apache.org/viewvc?rev=1000503&view=rev
Log:
* subversion/libsvn_wc/wc-queries.sql
(STMT_SELECT_SUBDIR, STMT_SELECT_KEEP_LOCAL_FLAG,
STMT_UPDATE_KEEP_LOCAL_FLAG): Delete obsolete queries.
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=1000503&r1=1000502&r2=1000503&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc-queries.sql (original)
+++ subversion/trunk/subversion/libsvn_wc/wc-queries.sql Thu Sep 23 15:43:46 2010
@@ -752,13 +752,6 @@ select wc_id, ?3 as local_relpath, ?4 as
prop_reject, changelist, text_mod, tree_conflict_data from actual_node
where wc_id = ?1 and local_relpath = ?2;
--- STMT_SELECT_SUBDIR
-select 1 from base_node
-where wc_id = ?1 and local_relpath = ?2 and kind = 'subdir'
-union
-select 0 from working_node
-where wc_id = ?1 and local_relpath = ?2 and kind = 'subdir';
-
-- STMT_UPDATE_BASE_REVISION
update base_node set revnum=?3
where wc_id = ?1 and local_relpath = ?2;
@@ -832,14 +825,6 @@ insert or replace into actual_node (
tree_conflict_data)
values (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11);
--- STMT_SELECT_KEEP_LOCAL_FLAG
-select keep_local from working_node
-where wc_id = ?1 and local_relpath = ?2;
-
--- STMT_UPDATE_KEEP_LOCAL_FLAG
-update working_node set keep_local= ?3
-where wc_id = ?1 and local_relpath = ?2;
-
-- STMT_SELECT_NOT_PRESENT
select 1 from base_node
where wc_id = ?1 and local_relpath = ?2 and presence = 'not-present';