[BUGFIX] Limit primary key length on be_session and fe_session table 38/51538/3
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:25 +0000 (17:38 +0100)
commitbf399d1ec087f5511918a6f2e7916a5ee865e555
tree04ce1e3e1035f9c8284d706ce9c9a1299081aa58
parent2d9e345da4f9174fbf270c66ef9d1fb5868b2e26
[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/51538
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: Benjamin Kott <benjamin.kott@outlook.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