summaryrefslogtreecommitdiff
path: root/SQL/mssql.initial.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-22 08:36:29 +0000
committeralecpl <alec@alec.pl>2011-11-22 08:36:29 +0000
commitb8ae0ecb22264b6a4dc8785c431a8d0556fa83bf (patch)
tree98f0d9dce5f111c8a8995f357762837eaf26b1c1 /SQL/mssql.initial.sql
parent15cd3e5c0bdbd9c00ac0602d9a1c9338ae30e4d7 (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)
Diffstat (limited to 'SQL/mssql.initial.sql')
-rw-r--r--SQL/mssql.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/mssql.initial.sql b/SQL/mssql.initial.sql
index a8d1a0b89..c14114100 100644
--- a/SQL/mssql.initial.sql
+++ b/SQL/mssql.initial.sql
@@ -81,7 +81,7 @@ CREATE TABLE [dbo].[identities] (
GO
CREATE TABLE [dbo].[session] (
- [sess_id] [varchar] (32) COLLATE Latin1_General_CI_AI NOT NULL ,
+ [sess_id] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ,
[created] [datetime] NOT NULL ,
[changed] [datetime] NULL ,
[ip] [varchar] (40) COLLATE Latin1_General_CI_AI NOT NULL ,