Checkout
rhuijben
committed
on 23 May 12
Help the Sqlite query planner a bit by rewriting two queries in a way that
makes it use indexes, where it didn't before.

* subversion/libsv… Show more
Help the Sqlite query planner a bit by rewriting two queries in a way that

makes it use indexes, where it didn't before.

* subversion/libsvn_wc/wc-queries.sql

 (STMT_RECURSIVE_UPDATE_NODE_REPO,

  STMT_SELECT_EXTERNALS_DEFINED): Make the OR operation the outer operation

    by duplicating some cheap tests.

 (STMT_SELECT_COMMITTABLE_EXTERNALS_BELOW): Accidental change, that should

    have been part of the r1341851 change.

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

 (slow_statements): Remove two slow statements.

Show less