summaryrefslogtreecommitdiffstats
path: root/UPGRADING
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-22 17:04:10 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-06-25 11:29:52 +0200
commitc0e6aabeb13487e798c6b3e54926e3362dcc2773 (patch)
tree70826c5c8beb778d47bdf5fe67fa78cb1fad70ca /UPGRADING
parent0e9f8c0ff5a315814de3223e5987812fa3a81447 (diff)
downloadaur-c0e6aabeb13487e798c6b3e54926e3362dcc2773.tar.gz
aur-c0e6aabeb13487e798c6b3e54926e3362dcc2773.tar.xz
Fix performance issues with new PackageDepends lookups
We do a lookup by DepName in the package details view, but I made the silly mistake of forgetting this index addition in the upgrade steps. Lukas: Fix numbering in "UPGRADING". Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING10
1 files changed, 6 insertions, 4 deletions
diff --git a/UPGRADING b/UPGRADING
index ad7ad96c..b0185a13 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -9,13 +9,15 @@ each AUR upgrade by running `make install` in the "po/" directory.
2. Remove the "NewPkgNotify" column from the "Users" table:
-----
ALTER TABLE Users DROP COLUMN NewPkgNotify;
-----
-3. Rename "web/lib/config.inc" to "web/lib/config.inc.php".
+3. Fix up issues with depends performance on large dataset.
+
+ALTER TABLE PackageDepends ADD INDEX (DepName);
+
+4. Rename "web/lib/config.inc" to "web/lib/config.inc.php".
-4. Merge "web/lib/config.inc.php.proto" with "web/lib/config.inc.php".
+5. Merge "web/lib/config.inc.php.proto" with "web/lib/config.inc.php".
From 1.8.1 to 1.8.2
-------------------