-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recreate Tables should Recreate indexes on MySQL (#16718) #16740
Recreate Tables should Recreate indexes on MySQL (#16718) #16740
Conversation
Backport go-gitea#16718 The MySQL indexes are not being renamed at the same time as RENAME table despite the CASCADE. Therefore it is probably better to just recreate the indexes instead. Signed-off-by: Andrew Thornton <art27@cantab.net>
We don't have a 1.14.7 milestone and I'm not certain if we want to release one. I guess if we think we're almost ready to release v1.15.0 then I think we can leave this but if not we should merge and release a .7 |
@zeripath as in the past, we don't always release a minor version when a new major version is released. I think either way it's fine to merge this in case someone wishes to build this version themselves. You've already taken the effort to backport it, doesn't hurt to merge :) |
## [1.14.7](https://github.com/go-gitea/gitea/releases/tag/v1.14.7) - 2021-09-02 * BUGFIXES * Add missing gitRepo close at GetDiffRangeWithWhitespaceBehavior (Partial go-gitea#16894) (go-gitea#16896) * Fix wiki raw commit diff/patch view (go-gitea#16891) (go-gitea#16893) * Ensure wiki repos are all closed (go-gitea#16886) (go-gitea#16889) * Upgrade xorm to v1.2.2 (go-gitea#16663) & Add test to ensure that dumping of login sources remains correct (go-gitea#16847) (go-gitea#16849) * Recreate Tables should Recreate indexes on MySQL (go-gitea#16718) (go-gitea#16740) Signed-off-by: Andrew Thornton <art27@cantab.net>
## [1.14.7](https://github.com/go-gitea/gitea/releases/tag/v1.14.7) - 2021-09-02 * BUGFIXES * Add missing gitRepo close at GetDiffRangeWithWhitespaceBehavior (Partial #16894) (#16896) * Fix wiki raw commit diff/patch view (#16891) (#16893) * Ensure wiki repos are all closed (#16886) (#16889) * Upgrade xorm to v1.2.2 (#16663) & Add test to ensure that dumping of login sources remains correct (#16847) (#16849) * Recreate Tables should Recreate indexes on MySQL (#16718) (#16740) Signed-off-by: Andrew Thornton <art27@cantab.net>
* BUGFIXES * Add missing gitRepo close at GetDiffRangeWithWhitespaceBehavior (Partial go-gitea#16894) (go-gitea#16896) * Fix wiki raw commit diff/patch view (go-gitea#16891) (go-gitea#16893) * Ensure wiki repos are all closed (go-gitea#16886) (go-gitea#16889) * Upgrade xorm to v1.2.2 (go-gitea#16663) & Add test to ensure that dumping of login sources remains correct (go-gitea#16847) (go-gitea#16849) * Recreate Tables should Recreate indexes on MySQL (go-gitea#16718) (go-gitea#16740) Signed-off-by: Andrew Thornton <art27@cantab.net>
* BUGFIXES * Add missing gitRepo close at GetDiffRangeWithWhitespaceBehavior (Partial #16894) (#16896) * Fix wiki raw commit diff/patch view (#16891) (#16893) * Ensure wiki repos are all closed (#16886) (#16889) * Upgrade xorm to v1.2.2 (#16663) & Add test to ensure that dumping of login sources remains correct (#16847) (#16849) * Recreate Tables should Recreate indexes on MySQL (#16718) (#16740) Signed-off-by: Andrew Thornton <art27@cantab.net>
Backport #16718 on to 1.14
The MySQL indexes are not being renamed at the same time as RENAME table despite the
CASCADE. Therefore it is probably better to just recreate the indexes instead.
Signed-off-by: Andrew Thornton art27@cantab.net