Project

General

Profile

Actions

Bug #21719

closed

Install Tool can not create cachingframework databases

Added by Christian Leicht over 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In Install Tool on Compare, the Tools is not able to Create this 3 new Databases

CREATE TABLE cachingframework_cache_hash_tags (
id int(11) unsigned NOT NULL auto_increment,
identifier text NOT NULL,
tag text NOT NULL,
PRIMARY KEY (id),
KEY cache_id (identifier),
KEY cache_tag (tag(320))
) ENGINE=InnoDB;

CREATE TABLE cachingframework_cache_pages_tags (
id int(11) unsigned NOT NULL auto_increment,
identifier text NOT NULL,
tag text NOT NULL,
PRIMARY KEY (id),
KEY cache_id (identifier),
KEY cache_tag (tag(320))
) ENGINE=InnoDB;

CREATE TABLE cachingframework_cache_pagesection_tags (
id int(11) unsigned NOT NULL auto_increment,
identifier text NOT NULL,
tag text NOT NULL,
PRIMARY KEY (id),
KEY cache_id (identifier),
KEY cache_tag (tag(320))
) ENGINE=InnoDB;

Problem is that the identifier Key has no lenght

After Drop all chachingframwork databases (the old one from 4.3 svn versions) is not possible to create with Install Tool the new again.

Also, i cant fix this changes in Install Tools:

Add fields
select/deselect all
ALTER TABLE cachingframework_cache_hash_tags ADD KEY cache_id (identifier);
ALTER TABLE cachingframework_cache_pages_tags ADD KEY cache_id (identifier);
ALTER TABLE cachingframework_cache_pagesection_tags ADD KEY cache_id (identifier);
Changing fields
select/deselect all
ALTER TABLE sys_registry DROP KEY entry_identifier;
ALTER TABLE sys_registry ADD UNIQUE entry_identifier (entry_namespace,entry_key(320));
ALTER TABLE sys_refindex CHANGE tablename tablename text;
Current value: varchar(100) default ''
ALTER TABLE sys_refindex CHANGE ref_table ref_table text;
Current value: varchar(100) default ''
ALTER TABLE tx_realurl_uniqalias CHANGE field_alias field_alias text;
Current value: varchar(75) default ''

My MySQL Version: 5.0.32 Debian/etch11

(issue imported from #M12801)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21730: ALTER TABLE is not able to parse length restriction in index creation (Oracle)ClosedXavier Perseguers2009-11-29

Actions
Actions

Also available in: Atom PDF