You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@gmail.com> on 2010/09/07 18:02:28 UTC

Re: svn commit: r993015 - in /subversion/trunk/subversion: include/private/svn_sqlite.h libsvn_subr/sqlite.c

On Mon, Sep 6, 2010 at 09:02,  <eh...@apache.org> wrote:
> Author: ehu
> Date: Mon Sep  6 13:02:14 2010
> New Revision: 993015
>
> URL: http://svn.apache.org/viewvc?rev=993015&view=rev
> Log:
> Add 'n' (no binding) binding type to svn_sqlite__bindf() to allow
> delayed binding of a small subset of columns.
>
>  * subversion/include/private/svn_sqlite.h
>  * subversion/libsvn_subr/sqlite.c
>   (svn_sqlite__bindf): Add 'n' format specifier for skipped columns.

In the past, I simply arranged my SQL statements to have bindf columns
*first*. Bind all those. Then bind the rest of the columns manually. A
simple ordering in the statement seems easier than introducing Yet
Another Format Code.

(tho I recognize it as arguable...)

Cheers,
-g