Actions
Bug #22485
closedtable sys_log, field details is too small
Start date:
2010-04-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem:
CREATE TABLE sys_log (
details varchar(255) DEFAULT '' NOT NULL,
)
The exception handler and exts like scheduler write entries to this table (eg. backtraces), they will be cropped at 256 chars, loosing valuable information.
If mysql is running in strict mode, a too-long message won't be trimmed, but will emit an error. Furthermore according to [1] the maximum length of varchar before mysql 5.0.3 (which is allowed for 4.3 according to [2]) is 256 chars.
Possible solution:
Make it a blob or text field?!
[1] http://dev.mysql.com/doc/refman/5.0/en/blob.html
[2] http://typo3.org/download/packages/
(issue imported from #M14152)
Files
Actions