[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r21323 - branches/merge-tracking/subversion/libsvn_fs_fs

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-09-02 00:25:04 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.