In our internal sqlite api provide sqlite with the knowledge if certain
defined functions are deterministic (as defined by sqlite). This allows Sqlite
to optimize their usage in very recent Sqlite versions.

* subversion/include/private/svn_sqlite.h
  (svn_sqlite__create_scalar_function): Add argument.

* subversion/libsvn_subr/sqlite.c
  (SQLITE_DETERMINISTIC): Define as 0 for older Sqlite versions.
  (svn_sqlite__open): Declare utf functions as deterministic.
  (svn_sqlite__create_scalar_function): Allow declaring deterministic.

* subversion/libsvn_wc/wc_db_util.c
  (svn_wc__db_util_open_db): Update caller.

* subversion/tests/libsvn_subr/sqlite-test.c
  (test_sqlite_reset): Update caller.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1559352 13f79535-47bb-0310-9956-ffa450edef68