subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1475963 - /subversion/trunk/subversion/libsvn_wc/wc-metadata.sql
Date Thu, 25 Apr 2013 21:17:28 GMT
Author: rhuijben
Date: Thu Apr 25 21:17:28 2013
New Revision: 1475963

URL: http://svn.apache.org/r1475963
Log:
* subversion/libsvn_wc/wc-metadata.sql
  (STMT_UPGRADE_31_SELECT_WCROOT_NODES): Properly handle the case that
    r.op_depth is NULL for the working copy root, by moving it to the join.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc-metadata.sql

Modified: subversion/trunk/subversion/libsvn_wc/wc-metadata.sql
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc-metadata.sql?rev=1475963&r1=1475962&r2=1475963&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc-metadata.sql (original)
+++ subversion/trunk/subversion/libsvn_wc/wc-metadata.sql Thu Apr 25 21:17:28 2013
@@ -841,7 +841,8 @@ SELECT l.wc_id, l.local_relpath FROM nod
 LEFT OUTER JOIN nodes as r
 ON l.wc_id = r.wc_id
    AND r.local_relpath = l.parent_relpath
-WHERE l.op_depth = 0 AND r.op_depth = 0
+   AND r.op_depth = 0
+WHERE l.op_depth = 0
   AND l.repos_path != ''
   AND ((l.repos_id IS NOT r.repos_id)
        OR (l.repos_path IS NOT RELPATH_SKIP_JOIN(r.local_relpath, r.repos_path, l.local_relpath)))



Mime
View raw message