diff options
author | Rémy Coutable <remy@rymai.me> | 2016-07-26 08:00:12 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-27 13:14:31 +0200 |
commit | 4af5d60863fd42b1586eba1592187b0890111d52 (patch) | |
tree | ef971c32250565d6af871e60adf91fb3c9271f0c /CHANGELOG | |
parent | 2a2ce716c6f2edc3918ef3549e96a809878bd47f (diff) | |
download | gitlab-ce-4af5d60863fd42b1586eba1592187b0890111d52.tar.gz |
Merge branch 'mysql_drop_all_tables' into 'master'
Disable MySQL foreign key checks before dropping all tables
Fixes #20237. Disables MySQL foreign key checks before dropping all tables in a restore. MySQL doesn't honor `CASCADE` without a special flag when the database/tables are created. In order to drop the tables we need to disable foreign key checks. After the drop, re-enable the key checks.
WIP: Pending confirmation from customer that this fix works.
See merge request !5472
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 14ade1fb6c2..278430a8941 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ v 8.10.2 (unreleased) - Use project ID in repository cache to prevent stale data from persisting across projects. !5460 - Fix issue with autocomplete search not working with enter key. !5466 - Add iid to MR API response. !5468 + - Disable MySQL foreign key checks before dropping all tables. !5472 - Don't show comment button in gutter of diffs on MR discussion tab v 8.10.1 |