Checkout
rhuijben
committed
on 18 Feb 15
Make it possible to run sqlite queries that use user defined functions
when the child pools of the pool containing the sqlite database
are b… Show more
Make it possible to run sqlite queries that use user defined functions

when the child pools of the pool containing the sqlite database

are being cleaned up.

This is necessary to use op-depth calculations in verification queries.

(or to run queries at all when the verification triggers are used)

* subversion/libsvn_subr/sqlite.c

 (clear_sqlite_function): New function.

 (svn_sqlite__create_scalar_function): Document nasty problem.

   Create function pool in global pool.

* subversion/libsvn_wc/wc-checks.sql

 (STMT_STATIC_VERIFY): Extend verifications.

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

 (relpath_depth_sqlite): New function (stub).

 (test_verify_parsable): Define relpath_depth.

Show less