[TASK] Add support for SPATIAL index type 53/38953/7
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Mon, 27 Apr 2015 10:55:55 +0000 (12:55 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 8 May 2015 20:51:32 +0000 (22:51 +0200)
commitafd54ca727cdbf082e488692b2746a37033d45d0
treee4bae4856e5750637fbe666e137692f68fa6d8e6
parentdff6c566ed85e7af6e1c3b2ad8b1489b7c05315e
[TASK] Add support for SPATIAL index type

Add support for "SPATIAL" keys to the SqlSchemaMigrationService.

Ignoring the subpart/key length for this type of index is required as
MySQL does not support specifying the length when creating/modifying
the index but reports this information when retrieving keys for a
table.

This change has been verified against MySQL 5.5.42 (Mac OS X) as well
as Percona Server 5.6.23 (Release 72.1, Linux).

Resolves: #65354
Releases: master
Change-Id: I2a2d0d1e7eddb6ff8fcfb50d88936669e64ea309
Reviewed-on: http://review.typo3.org/38953
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/install/Classes/Service/SqlSchemaMigrationService.php
typo3/sysext/install/Tests/Unit/Service/SqlSchemaMigrationServiceTest.php