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

Re: svn commit: r1672295 - in /subversion/trunk/subversion: libsvn_wc/wc-metadata.sql tests/libsvn_wc/wc-queries-test.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 14 Apr 2015 17:52:05 +0100

rhuijben_at_apache.org writes:

> Author: rhuijben
> Date: Thu Apr 9 11:31:12 2015
> New Revision: 1672295
  
> +INSERT OR REPLACE INTO sqlite_stat1(tbl, idx, stat) VALUES
> + ('EXTERNALS','sqlite_autoindex_EXTERNALS_1', '100 100 1');
> +INSERT OR REPLACE INTO sqlite_stat1(tbl, idx, stat) VALUES
> + ('EXTERNALS','I_EXTERNALS_DEFINED', '100 100 3 1');
> +
> /* sqlite_autoindex_WORK_QUEUE_1 doesn't exist because WORK_QUEUE is
> a INTEGER PRIMARY KEY AUTOINCREMENT table */

Do we need to delete the EXTERNALS rows first? That is what we do for
the other tables, a deliberate change introduced by r1571214. Given
that we do delete the rows first perhaps all the INSERT OR REPLACE
should be changed to just INSERT?

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-04-14 18:52:33 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.