[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: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Tue, 23 Jun 2009 16:18:48 -0500

On Jun 23, 2009, at 3:35 PM, Greg Stein wrote:

> 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.

r38176.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2364707
Received on 2009-06-23 23:19:13 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.