[Svn] r3753 - trunk/roundcubemail/SQL

trac at roundcube.net trac at roundcube.net
Tue Jun 15 11:46:51 CEST 2010


Author: alec
Date: 2010-06-15 04:46:51 -0500 (Tue, 15 Jun 2010)
New Revision: 3753

Modified:
   trunk/roundcubemail/SQL/mysql.update.sql
Log:
- Added ALTER TABLE .. ENGINE=InnoDB, per discussion in #1486794


Modified: trunk/roundcubemail/SQL/mysql.update.sql
===================================================================
--- trunk/roundcubemail/SQL/mysql.update.sql	2010-06-15 06:53:28 UTC (rev 3752)
+++ trunk/roundcubemail/SQL/mysql.update.sql	2010-06-15 09:46:51 UTC (rev 3753)
@@ -1,6 +1,7 @@
 -- RoundCube Webmail update script for MySQL databases
--- Updates from version 0.1-stable to 0.3.1
 
+-- Updates from version 0.1-stable
+
 TRUNCATE TABLE `messages`;
 
 ALTER TABLE `messages`
@@ -31,11 +32,11 @@
 ALTER TABLE `messages`
     ADD INDEX `created_index` (`created`);
 
--- Updates from version 0.2-beta (InnoDB only)
+-- Updates from version 0.2-beta (InnoDB required)
 
 ALTER TABLE `cache`
     DROP `session_id`;
-    
+
 ALTER TABLE `session`
     ADD INDEX `changed_index` (`changed`);
 
@@ -45,6 +46,14 @@
 ALTER TABLE `users`
     CHANGE `language` `language` varchar(5);
 
+ALTER TABLE `cache` ENGINE=InnoDB;
+ALTER TABLE `session` ENGINE=InnoDB;
+ALTER TABLE `messages` ENGINE=InnoDB;
+ALTER TABLE `users` ENGINE=InnoDB;
+ALTER TABLE `contacts` ENGINE=InnoDB;
+ALTER TABLE `identities` ENGINE=InnoDB;
+
+
 -- Updates from version 0.3-stable
 
 TRUNCATE `messages`;

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list