From 7a39626a6c9eebf7cf5fc8d1e8068418570b6a70 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 10 Mar 2015 00:23:49 +0100 Subject: [PATCH 1/2] The index for the term search is now massively improved. --- include/dbstructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dbstructure.php b/include/dbstructure.php index c078e40510..0e78694a77 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -1203,7 +1203,7 @@ function db_definition() { "oid_otype_type_term" => array("oid","otype","type","term"), "uid_term_tid" => array("uid","term","tid"), "type_term" => array("type","term"), - "uid_otype_type_term_created" => array("uid","otype","type","term","created"), + "uid_otype_type_term_global_created" => array("uid","otype","type","term","global","created"), "otype_type_term_tid" => array("otype","type","term","tid"), "guid" => array("guid"), ) From bf61620bd20a579247eb8829a0c994b472cc2467 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 10 Mar 2015 07:58:49 +0100 Subject: [PATCH 2/2] The index changed, so the database version must be increased as well. --- boot.php | 2 +- update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index ec9b70eb73..c44465b10c 100644 --- a/boot.php +++ b/boot.php @@ -18,7 +18,7 @@ define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_CODENAME', 'Ginger'); define ( 'FRIENDICA_VERSION', '3.3.3' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1181 ); +define ( 'DB_UPDATE_VERSION', 1182 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/update.php b/update.php index 93c3c4bef3..5b0b4cd251 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@