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.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 31 20:31:02 2006