subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1100361 - /subversion/trunk/subversion/libsvn_wc/wc-queries.sql
Date Fri, 06 May 2011 20:19:36 GMT
Author: rhuijben
Date: Fri May  6 20:19:35 2011
New Revision: 1100361

URL: http://svn.apache.org/viewvc?rev=1100361&view=rev
Log:
* subversion/libsvn_wc/wc-queries.sql
  (STMT_UPDATE_COPYFROM): Remove unused query.
  (STMT_UPDATE_OP_DEPTH): Remove unused query.

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=1100361&r1=1100360&r2=1100361&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc-queries.sql (original)
+++ subversion/trunk/subversion/libsvn_wc/wc-queries.sql Fri May  6 20:19:35 2011
@@ -734,22 +734,10 @@ SELECT wc_id, local_relpath, ?3 /*op_dep
 FROM nodes
 WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0
 
-
-/* ### these statements below should be setting copyfrom_revision! */
--- STMT_UPDATE_COPYFROM
-UPDATE nodes SET repos_id = ?3, repos_path = ?4
-WHERE wc_id = ?1 AND local_relpath = ?2
-  AND op_depth = (SELECT MAX(op_depth) FROM nodes
-                  WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0)
-
 -- STMT_UPDATE_OP_DEPTH_INCREASE_RECURSIVE
 UPDATE nodes SET op_depth = ?3 + 1
 WHERE wc_id = ?1 AND local_relpath LIKE ?2 ESCAPE '#' AND op_depth = ?3
 
--- STMT_UPDATE_OP_DEPTH
-UPDATE nodes SET op_depth = ?4
-WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = ?3
-
 -- STMT_DOES_NODE_EXIST
 SELECT 1 FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2
 LIMIT 1



Mime
View raw message