← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~wallyworld/launchpad/report-cache-index-1071581 into lp:launchpad

 

Ian Booth has proposed merging lp:~wallyworld/launchpad/report-cache-index-1071581 into lp:launchpad.

Commit message:
Add new index to latestpersonsourcepackagereleasecache.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  Bug #1071581 in Launchpad itself: "+ppa-packages timeout"
  https://bugs.launchpad.net/launchpad/+bug/1071581

For more details, see:
https://code.launchpad.net/~wallyworld/launchpad/report-cache-index-1071581/+merge/134274

Add new index to latestpersonsourcepackagereleasecache -
(upload_archive, upload_distroseries, sourcepackagename)
-- 
https://code.launchpad.net/~wallyworld/launchpad/report-cache-index-1071581/+merge/134274
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wallyworld/launchpad/report-cache-index-1071581 into lp:launchpad.
=== added file 'database/schema/patch-2209-38-2.sql'
--- database/schema/patch-2209-38-2.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-38-2.sql	2012-11-14 10:12:21 +0000
@@ -0,0 +1,10 @@
+-- Copyright 2012 Canonical Ltd.  This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+CREATE INDEX upload_archive__upload_distroseries__sourcepackagename__idx
+  ON latestpersonsourcepackagereleasecache (upload_archive, upload_distroseries, sourcepackagename);
+
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 38, 2);


Follow ups