Project

General

Profile

Actions

Bug #22485

closed

table sys_log, field details is too small

Added by Christian Kuhn over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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

14152_01.diff (567 Bytes) 14152_01.diff Administrator Admin, 2010-04-19 18:06
Actions

Also available in: Atom PDF