]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cache: add database indexes for mimetype and mimepart
authorRobin Appelman <icewind@owncloud.com>
Mon, 21 Jan 2013 21:31:44 +0000 (22:31 +0100)
committerRobin Appelman <icewind@owncloud.com>
Mon, 21 Jan 2013 21:31:44 +0000 (22:31 +0100)
db_structure.xml
lib/util.php

index f1f025728193e98dc3b3d0861f4c14a238272e9b..479ee3259ff5bae18fa62e61acd25eb1ef935a49 100644 (file)
                                </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>
index 59566c9f4fb9f5a39d640638ca32e64b3d9edd50..f947ed9c178f787d35cf7f8dc2055df76a38a1e5 100755 (executable)
@@ -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);
        }
 
        /**