Project

General

Profile

Actions

Bug #33580

closed

prepending "zzz_deleted_" might exceed the maximal lenght for column names

Added by Tolleiv Nietsch about 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2012-02-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I found that renaming a column to "zzz_deleted_tx_powermail_tellAFriendForm_receiverEmailContentField" didn't work because if it's size of 66 characters. MySQL allows only 64 - therefore I suggest to add that limitation also to t3lib_install_sql.

At the same time the patch has to make sure that the shortened names don't create collisions - therefore the field names are cut of from the beginning of the name because it's less likely to create collision this way.

See MySQL documentation: http://dev.mysql.com/doc/refman/5.5/en/identifiers.html


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #37425: Install Tool renames all tables and fields to "zzz_deleted_"Closed2012-05-23

Actions
Actions

Also available in: Atom PDF