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