Task #59771
closedChange be_sessions:ses_data field from LONGTEXT to TEXT
0%
Description
The ses_data field of the be_sessions table has always been LONGTEXT.
This breaks TYPO3 sessions when running under hhvm: https://notes.typo3.org/p/hhvm
The field started out as a blob field. Later it changed to a mediumblob, then into a mediumtext before finally turning into a longtext back in 2007.
So great! Now the field can hold 4GB of data :-)
But it breaks hhvm.
We can safely change it to a text field. That will hold 64K of data. And as you all know even 4k should be enough for everyone: http://blog.hvidtfeldts.net/index.php/2007/11/4k-should-be-enough-for-everyone/
But all jokes aside, the field may hold 21.844 in a worst case (3 byte UTF-8 characters: http://stackoverflow.com/questions/4420164/how-much-utf-8-text-fits-in-a-mysql-text-field).