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

Re: svn commit: r915930 - in /subversion/trunk/subversion/libsvn_wc: wc-queries.sql wc_db.c

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 24 Feb 2010 20:18:30 +0100

On Wed, Feb 24, 2010 at 07:11:43PM -0000, philip_at_apache.org wrote:
> Author: philip
> Date: Wed Feb 24 19:11:42 2010
> New Revision: 915930
>
> URL: http://svn.apache.org/viewvc?rev=915930&view=rev
> Log:
> Use a single query to insert WORKING node with correct presence.
>
> * subversion/libsvn_wc/wc-queries.sql
> (STMT_INSERT_WORKING_NODE_FROM_BASE_NODE): Make presence a parameter.
 
> Modified: subversion/trunk/subversion/libsvn_wc/wc-queries.sql
> URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc-queries.sql?rev=915930&r1=915929&r2=915930&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/libsvn_wc/wc-queries.sql (original)
> +++ subversion/trunk/subversion/libsvn_wc/wc-queries.sql Wed Feb 24 19:11:42 2010
> @@ -312,10 +312,10 @@
> wc_id, local_relpath, parent_relpath, presence, kind, checksum,
> translated_size, changed_rev, changed_date, changed_author, depth,
> symlink_target, last_mod_time )
> -SELECT wc_id, local_relpath, parent_relpath, presence, kind, checksum,
> +SELECT wc_id, local_relpath, parent_relpath, ?3 AS presence, kind, checksum,
> translated_size, changed_rev, changed_date, changed_author, depth,
> symlink_target, last_mod_time FROM BASE_NODE
> -WHERE wc_id = ?1 AND local_relpath = ?2;
> +WHERE wc_id = ?1 AND local_relpath = ?2

Was the semicolon dropped on purpose?

Stefan

>
> /* ------------------------------------------------------------------------- */
>
>
Received on 2010-02-24 20:19:09 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.