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

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

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 7 Sep 2010 14:02:28 -0400

On Mon, Sep 6, 2010 at 09:02, <ehu_at_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
Received on 2010-09-07 20:03:08 CEST

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