Checkout
glasser
committed
on 28 Nov 07
Standardize our use of sqlite3_finalize and sqlite3_reset. Use the
Subversion error system as much as possible; look up the db in the
state… Show more
Standardize our use of sqlite3_finalize and sqlite3_reset.  Use the

Subversion error system as much as possible; look up the db in the

statement.

* subversion/libsvn_fs_util/sqlite-util.h

* subversion/libsvn_fs_util/sqlite-util.c

 (svn_fs__sqlite_reset, svn_fs__sqlite_finalize): New helpers.

* subversion/libsvn_fs_util/mergeinfo-sqlite-index.c

 (index_path_mergeinfo, table_has_any_rows_with_rev,

  parse_mergeinfo_from_db, get_mergeinfo_for_path,

  get_mergeinfo_for_children):

* subversion/libsvn_fs_util/node-origins-sqlite-index.c

 (get_origin, set_origin):

  Use new helpers.

Show less