Project

General

Profile

Actions

Bug #16636

closed

INSERT cache_hash ident value needs to be truncated to 20 chars manually

Added by Michiel Roos about 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-10-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When inserting a cache_hash the field 'ident' is a length of 20. When the string is longer, MySQL will just truncate the value.

Postgres however, will not. It will fail the insert and throw an error.

This is bad. ;-)

This can be fixed by manually truncating the value that goes into 'ident' to 20 chars.

(issue imported from #M4363)


Files

class.t3lib_page.php.diff (466 Bytes) class.t3lib_page.php.diff Administrator Admin, 2006-10-10 16:02
class.t3lib_befunc.php.diff (339 KB) class.t3lib_befunc.php.diff Administrator Admin, 2006-10-10 16:02
Actions

Also available in: Atom PDF