More efficiently cleanup existing prepared statements when closing an SQLite database.
More efficiently cleanup existing prepared statements when closing an SQLite
database.

* subversion/libsvn_subr/sqlite.c
  (close_apr): Use the sqlite3_next_stmt() API to fetch any outstanding
    prepared statements, and cleanup error handling.

[ Reverted in r35829. ]

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