Project

General

Profile

Actions

Bug #58147

closed

Database compare bug

Added by Martin Vennemann almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2014-04-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Database compare won't work in 6.2.1 when it comes to altering tables.
I fixed it by changing /sysext/dbal/Database/DatabaseConnection.php line 2915 - "ALTERTABLE" was missing there.

line 2915-> if (in_array($this->lastParsedAndMappedQueryArray['type'], array('INSERT', 'DROPTABLE', 'ALTERTABLE'))) {

Actions

Also available in: Atom PDF