diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-22 01:31:44 +0400 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-22 01:31:44 +0400 |
commit | 8ede3290ae2da4b04f451ff3d502f0ac60ac6585 (patch) | |
tree | a344ac133c74cddf9c15f543db1e771be2c58d28 | |
parent | 1762378f67085cc9e8fecb287d73f1f1570cb3cc (diff) |
Cache: add database indexes for mimetype and mimepart
-rw-r--r-- | db_structure.xml | 24 | ||||
-rwxr-xr-x | lib/util.php | 2 |
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); } /** |