Bug #14336

Database analyzer gives stupid Alter statements by comparing existing schema with database.sql

Added by Sven Wilhelm almost 11 years ago. Updated almost 9 years ago.

Status:Closed Start date:2004-09-22
Priority:Should have Due date:
Assigned To:Ingmar Schlecht % Done:

0%

Category:Install Tool Spent time: -
Target version:-
TYPO3 Version:3.7.0RC2 Is Regression:
PHP Version: Sprint Focus:
Complexity:

Description

When a database schema exists (even if you have just dumped the database.sql file into the database) the compare with database.sql function offers alter statements that do not really differ from the exisiting schema.

Examples below:
Offers:
ALTER TABLE be_groups CHANGE uid uid int(11) unsigned NOT NULL auto_increment;
Current Schema:
Current value: int(11) unsigned DEFAULT '0' NOT NULL auto_increment
Offers:
ALTER TABLE be_groups CHANGE pid pid int(11) unsigned NOT NULL default '0';
Current Schema:
Current value: int(11) unsigned DEFAULT '0' NOT NULL

So it would be just a no operation.

Use an existing Typo3-Database-Schema and upgrade to 3.7rc?

(issue imported from #M384)


Related issues

duplicates Core - Bug #14139: Install tool is incapable of comparing modern database dumps Closed 2004-05-03

History

#1 Updated by Ingmar Schlecht almost 11 years ago

This is a duplicate of #55.
Wolfgang Klinger has already written a patch, but it has not been authorized by Kasper yet.

Also available in: Atom PDF