Skip to content
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

Change order columns in autoincrement keys for cloud tables #861

Merged

Conversation

eiffel777
Copy link
Contributor

For multi-column indexes that contain an auto-increment column on MyISAM tables the auto increment column should come after the column you want the auto increment to be grouped by. See the following articles for more information.

https://dev.mysql.com/doc/refman/5.7/en/example-auto-increment.html
https://www.ryadel.com/en/mysql-two-columns-primary-key-with-auto-increment/

Tests performed

Manual testing and docker tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@eiffel777 eiffel777 added the Category:Cloud Cloud Realm label Mar 15, 2019
@eiffel777 eiffel777 added this to the 8.1.0 milestone Mar 15, 2019
@eiffel777 eiffel777 self-assigned this Mar 15, 2019
@eiffel777 eiffel777 merged commit 999607e into ubccr:xdmod8.1 Mar 20, 2019
@eiffel777 eiffel777 added the bug Bugfixes label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Cloud Cloud Realm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants