[BUGFIX] Improve database scheme updater 45/28945/3
authorNicole Cordes <typo3@cordes.co>
Fri, 28 Mar 2014 19:34:29 +0000 (20:34 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 12 Apr 2014 15:57:19 +0000 (17:57 +0200)
commit039467b8e75487983acdd2d9cbc1192be245c9a8
tree24884bbcf33e925982ae8aab154cb4e32be9401a
parent4a4bdbc0ddf7b6adf94730e504c0997709ad0e5c
[BUGFIX] Improve database scheme updater

This patch improves the update process as it removes the hard stop after
an SQL error occurred. All queries should get executed and errors should
be reported at the end. Sometimes it gets necessary that the updater is
called more that once - a notice to the user is added.

Besides the index length is reduced by 1 to ensure the index is set
with limitation in the database and all fields can be updated in the
second step.

Resolves: #57421
Releases: 6.2
Change-Id: I2f830a8a62b8dff3fbe949d40de8ddc30f3dfb9a
Reviewed-on: https://review.typo3.org/28945
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/ext_tables.sql
typo3/sysext/install/Classes/Updates/FinalDatabaseSchemaUpdate.php