summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/mysql.update.sql
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-22 08:36:29 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-22 08:36:29 +0000
commit48c5e37546f20ada47924526b3ea011b6d2d5e8e (patch)
tree741443e016fa74f670b0745c47cba12f4a1ecc40 /roundcubemail/SQL/mysql.update.sql
parent1a6323f0a58976db68ee3e8eacfb04e93c335ca2 (diff)
- Fixed bug where session ID's length was limited to 40 characters. Since PHP5.3 it's possible
to set session.hash_function to any hash algorithm that would produce strings up to 128 characters long (#1488196) git-svn-id: https://svn.roundcube.net/trunk@5460 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/mysql.update.sql')
-rw-r--r--roundcubemail/SQL/mysql.update.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 66045392d..053649b59 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/SQL/mysql.update.sql
@@ -208,3 +208,5 @@ CREATE TABLE `cache_messages` (
INDEX `changed_index` (`changed`),
PRIMARY KEY (`user_id`, `mailbox`, `uid`)
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
+
+ALTER TABLE `session` CHANGE `sess_id` `sess_id` varchar(128) NOT NULL;