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

Add MySQL 8 error code for cascade delete #1112

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

CBroz1
Copy link
Contributor

@CBroz1 CBroz1 commented Oct 25, 2023

To address #1110, I've added this error code to the set of checks performed by translate_query_error.

To protect against potential issues for MySQL 5.7 users, I checked error code manuals for both 5.7 and 8.0, which indicated that theses error codes would be categorized as IntegrityError across both cases.

Are additional tests required for this change?

Copy link
Member

@dimitri-yatsenko dimitri-yatsenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! @CBroz1

@lfrank
Copy link

lfrank commented Nov 7, 2023

@dimitri-yatsenko Just checking in on this, as it would be really helpful for us to have it merged. Thoughts on when that might be possible?

Copy link
Member

@dimitri-yatsenko dimitri-yatsenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add a comment to CHANGELOG

@dimitri-yatsenko dimitri-yatsenko merged commit b63900b into datajoint:master Nov 7, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants