Re: svn commit: r21323 - branches/merge-tracking/subversion/libsvn_fs_fs
On Thu, 31 Aug 2006, Kamesh Jayachandran wrote:
> firstname.lastname@example.org wrote:
> >Author: dberlin
> >Date: Thu Aug 31 07:13:17 2006
> >New Revision: 21323
> >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 <email@example.com>
> >Review by: Daniel Berlin <firstname.lastname@example.org>
> Malcom Rowe reviewed too.
Log message adjusted.
Received on Sat Sep 2 00:23:50 2006
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Dev