subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1657798 - /subversion/trunk/subversion/libsvn_wc/wc-queries.sql
Date Fri, 06 Feb 2015 13:15:26 GMT
Author: rhuijben
Date: Fri Feb  6 13:15:25 2015
New Revision: 1657798

URL: http://svn.apache.org/r1657798
Log:
* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_OP_DEPTH_MOVED_PAIR): The op-depth we want to use is the
    same for all records, so only query it once.

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=1657798&r1=1657797&r2=1657798&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc-queries.sql (original)
+++ subversion/trunk/subversion/libsvn_wc/wc-queries.sql Fri Feb  6 13:15:25 2015
@@ -1638,9 +1638,8 @@ FROM nodes n
 JOIN nodes p ON p.wc_id = ?1 AND p.local_relpath = ?2
  AND p.op_depth=(SELECT MAX(d.op_depth)
                  FROM nodes d
-                 WHERE d.wc_id = ?1
-                 AND d.local_relpath = p.local_relpath
-                 AND d.op_depth < ?3)
+                 WHERE d.wc_id = ?1 AND d.local_relpath = ?2
+                   AND d.op_depth < ?3)
 WHERE n.wc_id = ?1
   AND IS_STRICT_DESCENDANT_OF(n.local_relpath, ?2)
   AND n.op_depth = ?3



Mime
View raw message