[Rt-commit] rt branch, 4.0-trunk, updated. rt-3.9.7-1144-g9dc6d7a

Kevin Falcone falcone at bestpractical.com
Mon Jan 3 15:51:14 EST 2011


The branch, 4.0-trunk has been updated
       via  9dc6d7aea6dce415a3597a2989f08ccb64134a02 (commit)
      from  a52fe097106b0a3bfcd988ef66f17acec05b7338 (commit)

Summary of changes:
 etc/schema.mysql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 9dc6d7aea6dce415a3597a2989f08ccb64134a02
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Jan 3 15:50:22 2011 -0500

    specify an encoding for sessions and make it innodb
    
    Being innodb really helps with backups, and not specifying a character
    set means that bad my.cnfs can accidentally specify old default
    character sets.
    
    This needs an upgrade script to handle dropping and recreating sessions
    on mysql

diff --git a/etc/schema.mysql b/etc/schema.mysql
index e75e6f0..160036e 100755
--- a/etc/schema.mysql
+++ b/etc/schema.mysql
@@ -437,7 +437,7 @@ CREATE TABLE sessions (
     a_session LONGBLOB,
     LastUpdated TIMESTAMP,
     PRIMARY KEY (id)
-);
+) ENGINE=InnoDB CHARACTER SET ascii;
 
 CREATE TABLE Classes (
   id int(11) NOT NULL auto_increment,

-----------------------------------------------------------------------


More information about the Rt-commit mailing list