summaryrefslogtreecommitdiffstats
path: root/UPGRADING
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-09 09:57:25 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-10 08:17:53 +0100
commit881bfcced4b1b0906d7ef57af55f4e7201ad2474 (patch)
treee267d271303ba32730683b414de5659d180b0323 /UPGRADING
parent0e0e80aeea9396647041061d1104d0001bd1cc5a (diff)
downloadaur-881bfcced4b1b0906d7ef57af55f4e7201ad2474.tar.gz
aur-881bfcced4b1b0906d7ef57af55f4e7201ad2474.tar.xz
Remove unused fulltext index from "Packages" table.
Drop fulltext indexes, which prevent the use of InnoDB, from "Packages" table. All search routines use "LIKE" patterns, so fulltext search has actually never been used. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING10
1 files changed, 9 insertions, 1 deletions
diff --git a/UPGRADING b/UPGRADING
index 661a6c3b..c649985f 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -29,7 +29,15 @@ ALTER TABLE TU_VoteInfo
MODIFY User VARCHAR(32) collate latin1_general_ci NOT NULL;
----
-2. You will need to update all packages which are stored in the incoming dir as
+2. Drop all fulltext indexes from the "Packages" table:
+
+Please do this with care. `ALTER TABLE Packages DROP INDEX Name;` will work in
+most cases but might remove the wrong index if your indexes have been created
+in a non-standard order (e.g. during some update process). You'd better run
+`SHOW INDEX FROM Packages;` before to ensure that your setup doesn't use a
+different naming.
+
+3. You will need to update all packages which are stored in the incoming dir as
in 1.8.0, source tarballs are no longer extracted automatically and PKGBUILDs
are from now on located in the same subdirectories as the tarballs themselves.
The following script will do the conversion automatically when being run inside