[BUGFIX] DBAL native mode: Database compare fails 31/29631/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Thu, 24 Apr 2014 08:35:39 +0000 (10:35 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Fri, 2 May 2014 07:36:24 +0000 (09:36 +0200)
commit6dcf2778519b081aab8843f83fb9b3dbbdbd82cd
tree8a93c1d77c6b71e6704fbc7c70ba23376410953c
parent3b55f7373d8c82859c0e8916a9a2b6c94df7cf82
[BUGFIX] DBAL native mode: Database compare fails

Database compare does not work with DBAL in native mode
as the ALTER TABLE statement is not processed correctly.
The SQL statement is wrongly interpreted as array, but is of
type string.

Fix this by extending the check which determines the type.

Resolves: #58147
Releases: 6.2
Change-Id: I467494c633b8af9e5a17dce64f071667dd985177
Reviewed-on: https://review.typo3.org/29631
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php