Skip to content

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
@rbygrave rbygrave merged commit dfb29fd into ebean-orm:master Mar 3, 2025
1 check passed
@mkurz mkurz deleted the fix_3577 branch March 3, 2025 08:33
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