From b8ae0ecb22264b6a4dc8785c431a8d0556fa83bf Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 22 Nov 2011 03:36:29 -0500 Subject: [PATCH] - 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) --- SQL/mssql.upgrade.sql | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SQL/mssql.upgrade.sql b/SQL/mssql.upgrade.sql index b506e5d..b479b16 100644 --- a/SQL/mssql.upgrade.sql +++ b/SQL/mssql.upgrade.sql @@ -111,7 +111,7 @@ DELETE FROM [dbo].[cache] GO --- Updates from version 0.6-stable +-- Updates from version 0.6 CREATE TABLE [dbo].[dictionary] ( [user_id] [int] , @@ -238,4 +238,7 @@ FOREIGN KEY ([user_id]) REFERENCES [dbo].[users] ([user_id]) ON DELETE CASCADE ON UPDATE CASCADE GO - \ No newline at end of file + +ALTER TABLE [dbo].[session] ALTER COLUMN [sess_id] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL +GO + -- Gitblit v1.9.1