Checkout
rhuijben
committed
on 23 May 12
Extend the wc-queries-test application to catch another type of
potentially slow queries: Queries that create temporary tables.

* subversio… Show more
Extend the wc-queries-test application to catch another type of

potentially slow queries: Queries that create temporary tables.

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

 (slow_statements): Remove STMT_SELECT_CHANGELIST_LIST as that is now

   caught as a result table. Add 3 queries that use a temp table.

 (explanation_item): Add some variables.

 (parse_explanation_item): Parse COMPOUND and some bits of USE. Set

   search type.

 (is_result_table): Add changelist_list.

 (test_query_expectations): Update tests to handle other info items.

   Check for search items before testing fields that may be NULL.

Show less