From cb32830aa50f477be4b5cec5a75890fbb6fef862 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 22 Aug 2016 10:17:23 +0200 Subject: [PATCH] Add patch for fulltext index on predb filename column --- Changelog | 2 ++ build/nntmux.xml | 4 ++-- resources/db/patches/mysql/+1~predb.sql | 3 +++ resources/db/patches/mysql/0449~predb.sql | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 resources/db/patches/mysql/+1~predb.sql create mode 100644 resources/db/patches/mysql/0449~predb.sql diff --git a/Changelog b/Changelog index c3b61c06a..34388845d 100755 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2016-08-22 DariusIII + * Chg: Add FULLTEXT index to predb.filename 2016-08-21 DariusIII * Chg: Remove match_prefiles from tmux, should be ran manualy 2016-08-20 DariusIIi diff --git a/build/nntmux.xml b/build/nntmux.xml index 156fe2e2f..cca4ccc76 100755 --- a/build/nntmux.xml +++ b/build/nntmux.xml @@ -16,8 +16,8 @@ - 268 - 268 + 449 + 449 diff --git a/resources/db/patches/mysql/+1~predb.sql b/resources/db/patches/mysql/+1~predb.sql new file mode 100644 index 000000000..966cf5dbd --- /dev/null +++ b/resources/db/patches/mysql/+1~predb.sql @@ -0,0 +1,3 @@ +# Add FULLTEXT index on predb.filename. This patch might take some time to complete. + +ALTER TABLE predb ADD FULLTEXT INDEX ft_predb_filename (filename); diff --git a/resources/db/patches/mysql/0449~predb.sql b/resources/db/patches/mysql/0449~predb.sql new file mode 100644 index 000000000..966cf5dbd --- /dev/null +++ b/resources/db/patches/mysql/0449~predb.sql @@ -0,0 +1,3 @@ +# Add FULLTEXT index on predb.filename. This patch might take some time to complete. + +ALTER TABLE predb ADD FULLTEXT INDEX ft_predb_filename (filename);