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 2012/05/22 08:45:20 UTC

svn commit: r1341320 - /subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c

Author: rhuijben
Date: Tue May 22 06:45:20 2012
New Revision: 1341320

URL: http://svn.apache.org/viewvc?rev=1341320&view=rev
Log:
Fix the name of the actual table in the wc-queries-test, to properly detect
slow usages of this table.

* subversion/tests/libsvn_wc/wc-queries-test.c
  (slow_statements): Add slow tests on the actual_node table.
  (is_node_table): Update table name.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c?rev=1341320&r1=1341319&r2=1341320&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c Tue May 22 06:45:20 2012
@@ -111,7 +111,12 @@ static const int slow_statements[] =
   STMT_SELECT_MIN_MAX_REVISIONS,
   STMT_HAS_SPARSE_NODES,
   STMT_SUBTREE_HAS_TREE_MODIFICATIONS,
+  STMT_SUBTREE_HAS_PROP_MODIFICATIONS,
   STMT_SELECT_BASE_FILES_RECURSIVE,
+  STMT_SELECT_CONFLICT_MARKER_FILES,
+  STMT_CLEAR_ALL_ACTUAL_NODE_LEAVING_CHANGELIST,
+  STMT_DELETE_ACTUAL_EMPTIES,
+  STMT_DELETE_ALL_ACTUAL_NODE_LEAVING_CHANGELIST,
 
   /* Upgrade statements? */
   STMT_SELECT_OLD_TREE_CONFLICT,
@@ -125,6 +130,7 @@ static const int slow_statements[] =
   STMT_CACHE_NODE_BASE_PROPS,
   STMT_CACHE_NODE_PRISTINE_PROPS,
   STMT_SELECT_RELEVANT_PROPS_FROM_CACHE,
+  STMT_UPDATE_ACTUAL_CHANGELISTS,
 
   /* Moved to/from index? */
   STMT_SELECT_MOVED_FROM_RELPATH,
@@ -445,7 +451,7 @@ static svn_boolean_t
 is_node_table(const char *table_name)
 {
   return (apr_strnatcasecmp(table_name, "nodes") == 0
-          || apr_strnatcasecmp(table_name, "actual") == 0
+          || apr_strnatcasecmp(table_name, "actual_node") == 0
           || apr_strnatcasecmp(table_name, "externals") == 0);
 }