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

Re: NODES.properties == null for added node?

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 3 Feb 2011 15:54:43 +0100

On Wed, Feb 02, 2011 at 06:02:55PM -0800, Julian Foad wrote:
> Hi Stefan.
>
> On IRC
> <http://colabti.org/irclogger/irclogger_log/svn-dev?date=2011-02-02> I
> see you wrote:
>
> > are newly added files supposed to have a NULL properties column in
> > wc_db?
> > they have props in ACTUAL_NODE
> > but in NODES the column is NULL
>
> There is no pristine version of an added node. The comment in
> ACTUAL_NODES doesn't define this, but the pristine properties column
> being null (rather than an empty list of props) makes sense to me.

OK, thanks for clarifying.

> > we have several loops in the code that do things like this:
> > while (have_row && !svn_sqlite__column_is_null(stmt, 0))
>
> I was curious and looked, but can't see any such loops. Where?

Hmmm... you're right. What probably happened is that I modeled
the while loop after an if statement condition that uses this.
Received on 2011-02-03 15:55:25 CET

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