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

Work around mysqldump bug by moving comment one line up #3578

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkurz
Copy link
Contributor

@mkurz mkurz commented Feb 26, 2025

It seems like mysqldump just adds ;; to the last line but unfortunately does not check if that line is a comment. To work around that it's good enough to move the comment one line up - as long as the END does not end with ; (which here it does not so that is ok)

It seems like mysqldump just adds ;; to the last line and does not
check if that line is a comment. To work around that it's good enough
to move the comment one line up - as long as the END does not end with ;
(which here it does not so that is ok)
@rPraml
Copy link
Contributor

rPraml commented Feb 26, 2025

I don't know much about the play-framework, so if the play-ebean-start and play-ebean-end will do their job correctly, I'm fine with this change.

As far as I understand #3408 you will try to switch off statement splitting between the two comments. Just for my interest: It would be nice, if you explain in 2-3 sentences, how this splitting is avoided. (or is it private code?)

@rbygrave rbygrave added this to the 14.10.0 milestone Feb 27, 2025
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.

mysqldump backups broken with #3408
3 participants