stable

Clone or download

Read-only

Add missing index on plugin_gitlab_commit_info table

In order to avoid a full table scan in searchCommitInRepositoryWithSha1(), we should add an index. No functional changes. Part of story #17182: reference tuleap artifacts in gitlab merge requests Change-Id: I9b9fdff3632ffcdeb013d55b359ed9e3e2732bf6

Modified Files

Name
M plugins/gitlab/db/install.sql +2 −1 Go to diff View file
A plugins/gitlab/db/mysql/2021/202101151907_add_commit_id_index.php +44 −0 Go to diff View file