Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-22 01:31:44 +0400
committerRobin Appelman <icewind@owncloud.com>2013-01-22 01:31:44 +0400
commit8ede3290ae2da4b04f451ff3d502f0ac60ac6585 (patch)
treea344ac133c74cddf9c15f543db1e771be2c58d28
parent1762378f67085cc9e8fecb287d73f1f1570cb3cc (diff)
Cache: add database indexes for mimetype and mimepart
-rw-r--r--db_structure.xml24
-rwxr-xr-xlib/util.php2
2 files changed, 25 insertions, 1 deletions
diff --git a/db_structure.xml b/db_structure.xml
index f1f02572819..479ee3259ff 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -258,6 +258,30 @@
</field>
</index>
+ <index>
+ <name>fs_storage_mimetype</name>
+ <field>
+ <name>storage</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>mimetype</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ <index>
+ <name>fs_storage_mimepart</name>
+ <field>
+ <name>storage</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>mimepart</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>
diff --git a/lib/util.php b/lib/util.php
index 59566c9f4fb..f947ed9c178 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -74,7 +74,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.90.0. This is not visible to the user
- return array(4,91,07);
+ return array(4,91,8);
}
/**