On Thu, 31 Aug 2006, Kamesh Jayachandran wrote:
> dberlin@tigris.org wrote:
> >Author: dberlin
> >Date: Thu Aug 31 07:13:17 2006
> >New Revision: 21323
> >
> >Log:
> >Use the same prepared statement across multiple invocation of same query.
> >Bind the invariant values outside the 'for loop'.
> >
> >* subversion/libsvn_fs_fs/fs_fs.c
> > (index_path_merge_info):
> > Create the statement outside the for loop.
> > Reset the statement after each execution as mandated by sqlite
> > using sqlite3_reset.
> > Bind 'mergedfrom', 'mergedto', 'revision' outside the for loop as they
> > are invariants across iterations.
> > Finalize the statement outside the 'for loop'.
> >
> >Patch by: Kamesh Jayachandran <kamesh@collab.net>
> >Review by: Daniel Berlin <dberlin@dberlin.org>
> >
> Malcom Rowe reviewed too.
Log message adjusted.
- application/pgp-signature attachment: stored
Received on Sat Sep 2 00:23:50 2006