From 74ec2765b3bea7d81ede23582073a8911e54b2fd Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 19 Sep 2012 21:05:39 +0200 Subject: [PATCH] db indexes for appconfig and preferences --- db_structure.xml | 28 ++++++++++++++++++++++++++++ lib/util.php | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/db_structure.xml b/db_structure.xml index 00866b6ebaf..b35a6c7cdc2 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -35,6 +35,18 @@ true + + appconfig_appid_key_index + + appid + ascending + + + configkey + ascending + + + @@ -392,6 +404,22 @@ false + + preferences_userid_appid_key_index + + userid + ascending + + + appid + ascending + + + configkey + ascending + + + diff --git a/lib/util.php b/lib/util.php index d0ea1591298..08412464254 100755 --- a/lib/util.php +++ b/lib/util.php @@ -81,7 +81,7 @@ class OC_Util { */ public static function getVersion() { // hint: We only can count up. So the internal version number of ownCloud 4.5 will be 4,9,0. This is not visible to the user - return array(4,84,9); + return array(4,84,10); } /**