Make wc-queries-test failures much easier to diagnose by extending the sqlite transform script a bit. Store names and some optional value during .sql parsing and make that information available in the test.
* build/transform_sql.py (Processor): Extend regex to capture flags. (_sub_statement): Generate extra macro. (main): Generate a DECLARE_STATEMENT_INFO macro.
* subversion/tests/libsvn_wc/wc-queries-test.c (wc_query_info): New static variable. (test_parsable, test_query_expectations): Extend error messages with statement name.
Following up on r1341130, fix the bug that the code only parsed the statements until the first statement that contained multiple queries.
Record current 'slow' queries, based on Sqlite 3.7.12 results.
* subversion/tests/libsvn_wc/wc-queries-test.c (slow_statements): Add a lot of statements. (parse_explanation_item): Detect 'USE' operation. (test_query_expectations): Continue instead of break on parse errors and multi-statements. Check for primary key usage first and allow 'slow' suppression for all checks.