Checkout
rhuijben
committed
on 23 May 12
Switch the few remaining queries that still used the LIKE operator to
IS_STRICT_DESCENDANT_OF().

* subversion/libsvn_wc/wc-queries.sql
(S… Show more
Switch the few remaining queries that still used the LIKE operator to

IS_STRICT_DESCENDANT_OF().

* subversion/libsvn_wc/wc-queries.sql

 (STMT_FIND_WC_LOCK,

  STMT_SELECT_REVERT_LIST_COPIED_CHILDREN,

  STMT_SELECT_REVERT_LIST_RECURSIVE,

  STMT_DELETE_REVERT_LIST_RECURSIVE): Use IS_STRICT_DESCENDANT_OF().

* subversion/libsvn_wc/wc_db.c

 (construct_like_arg): Remove unused function.

 (revert_list_read_copied_children,

  svn_wc__db_revert_list_notify): Update user.

 (wclock_obtain_cb): Remove unused variable. The code was accidentally

   already updated to use the local_relpath in r1341690.

* subversion/tests/libsvn_wc/wc-queries-test.c

 (slow_statements): Remove 3 more previously slow queries.

 (is_node_table): Handle wc_lock as node table for measurements.

Show less