[BUGFIX] Limit primary key length on be_session and fe_session table 39/51539/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 4 Feb 2017 12:44:51 +0000 (13:44 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 4 Feb 2017 16:38:41 +0000 (17:38 +0100)
commitaa12bf38d24e6a4a405740d4cbc3e5c1249e98e9
treecee954b2103fb392c0516eb7d90cde4bb592a385
parent2fd488d774bf27adbe144faf20b44a80f468e78f
[BUGFIX] Limit primary key length on be_session and fe_session table

Patch for issue #79566 increased the field length of ses_name in
fe_session and be_session table from 32 to 255.
This field is used together with ses_id as primary key.
With utf8, this now exceeds maximum key length of 757 bytes.
To fix the issue, ses_name is cut down to 100 for the time being,
the patch should be fine for master and 7.6 this way.

Change-Id: I06abecca0f8df483590cf0a3c193134083e8f5f1
Resolves: #79628
Related: #79566
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51539
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/ext_tables.sql
typo3/sysext/frontend/ext_tables.sql