[TASK] Add index to sys_file_metadata 74/26774/6
authorIngo Schmitt <is@marketing-factory.de>
Mon, 13 Jan 2014 09:08:13 +0000 (10:08 +0100)
committerBenjamin Mack <benni@typo3.org>
Mon, 13 Jan 2014 13:32:08 +0000 (14:32 +0100)
commitcc3b0298583fbc0d1071d6dfdb9666361b0da9c6
tree8dd394be22cd3494b31b2b8b36b4ada675355cd4
parent85edd0e1636c82727bb53a3207e2c33816e2066d
[TASK] Add index to sys_file_metadata

Since sys_file_metadata records are enabled to be
translated the file list module is capable of metadata
translations, too. In order to directly link to edit
or create a new translation depending on wether this
language already has been translated for each file the
metadata translations are fetched from the database.

In order to improve that query this patch adds an index
including l10n_parent and sys_language_uid.

Resolves: #54927
Releases: 6.2
Change-Id: I6cc5c74505e96647c5ddd7e7ee77518176d2ba0b
Reviewed-on: https://review.typo3.org/26774
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/core/ext_tables.sql