Instead of guarding against multiple invocations of init_sqlite() externally, move the static variable and the checking of it's value internal.  This also allows svn_sqlite__get_schema_version() to initialize the library.
Instead of guarding against multiple invocations of init_sqlite() externally,
move the static variable and the checking of it's value internal.  This also
allows svn_sqlite__get_schema_version() to initialize the library.

* subversion/libsvn_subr/sqlite.c
  (init_sqlite): Return immediately if the library has been initialized.
  (svn_sqlite__get_schema_version): Initialize the sqlite library.
  (svn_sqlite__open): Unconditionally initialize the sqlite library, since it
    now does internal invocation checking.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion