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

Re: svn commit: r37937 - trunk/subversion/libsvn_wc

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 23 Jun 2009 22:35:40 +0200

On Fri, Jun 5, 2009 at 14:21, Hyrum K. Wright<hyrum_at_hyrumwright.org> wrote:
>...
> +++ trunk/subversion/libsvn_wc/wc_db.c  Fri Jun  5 05:21:51 2009        (r37937)
>...
> @@ -231,7 +231,7 @@ static const char * const statements[] =
>   "select id from wcroot where local_abspath is null;",
>
>   /* STMT_SELECT_REPOSITORY */
> -  "select id, root from repository where uuid = ?1;",
> +  "select id from repository where uuid = ?1 and root = ?2;",

The root is unique. No need to include the uuid in the WHERE clause.

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2364684
Received on 2009-06-23 22:36:00 CEST

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.