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

Re: svn commit: r911804 - /subversion/trunk/subversion/libsvn_wc/wc-metadata.sql

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 19 Feb 2010 11:11:57 -0500

On Fri, Feb 19, 2010 at 08:13, <julianfoad_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_wc/wc-metadata.sql Fri Feb 19 13:13:09 2010
> @@ -172,7 +172,9 @@
>    and ACTUAL_NODE tables.
>  */
>  CREATE TABLE PRISTINE (
> -  /* ### the hash algorithm (MD5 or SHA-1) is encoded in this value */
> +  /* The SHA-1 checksum of the pristine text. This is a unique key. The
> +     SHA-1 checksum of a pristine text is assumed to be unique among all
> +     pristine texts referenced from this database. */
>   checksum  TEXT NOT NULL PRIMARY KEY,

That comment is now redundant with the PRIMARY KEY attached to that column.

>   /* ### enumerated values specifying type of compression. NULL implies
> @@ -189,7 +191,8 @@
>   refcount  INTEGER NOT NULL,
>
>   /* Alternative MD5 checksum used for communicating with older
> -     repositories. */
> +     repositories. Not guaranteed to be unique among table rows.

pfft. riiiiiight.

> +     NULL if not (yet) calculated. */
>   md5_checksum  TEXT
>   );
>
>
>
>
Received on 2010-02-19 17:12:31 CET

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.