[Bugfix] Add Index on sys_domain 67/27167/2
authorIngo Schmitt <is@marketing-factory.de>
Thu, 30 Jan 2014 18:59:54 +0000 (19:59 +0100)
committerBenjamin Mack <benni@typo3.org>
Thu, 30 Jan 2014 19:51:28 +0000 (20:51 +0100)
commit84543545ac27914e02f5e2fc66fb085dc6447cd6
tree4ec9495b362d0a95a5875ffd0a1bb3904ad11dc4
parent2df1222240d951c1cddc4066798521f95f41a38a
[Bugfix] Add Index on sys_domain

TYPO3 checks if a redirect is needed for a domain by issuing a
select on sys_domain. In the where clause the columns redirectTo
and hidden are used. These columns have no index, thus the
select is slow.

This patch adds the combined key to the sql definition.

Resolves: #55181
Releases: 6.2
Change-Id: I7d7463e0d3e6abb53c4b0fccf205e4b1eb867878
Reviewed-on: https://review.typo3.org/27167
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/frontend/ext_tables.sql