You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/01/16 12:24:49 UTC

svn commit: r1558759 - /subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c

Author: rhuijben
Date: Thu Jan 16 11:24:48 2014
New Revision: 1558759

URL: http://svn.apache.org/r1558759
Log:
* subversion/tests/libsvn_wc/op-depth-test.c
  (check_db_rows): Properly join both wc_id and local_relpath to avoid
    creating a temporary index.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c?rev=1558759&r1=1558758&r2=1558759&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c Thu Jan 16 11:24:48 2014
@@ -268,7 +268,8 @@ check_db_rows(svn_test__sandbox_t *b,
     "       properties"
     " FROM nodes "
     " LEFT OUTER JOIN externals"
-    "             ON nodes.local_relpath = externals.local_relpath"
+    "             ON nodes.wc_id = externals.wc_id "
+    "                AND nodes.local_relpath = externals.local_relpath"
     " WHERE nodes.local_relpath = ?1 OR nodes.local_relpath LIKE ?2",
     NULL };
 #define STMT_SELECT_NODES_INFO 0