-
Notifications
You must be signed in to change notification settings - Fork 77
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
Possible ArrayIndexOutOfBoundsException when reading DO part of a script #127
Comments
Can you give the full stack trace and let us know steps to reproduce? |
I suspect below is the cause, that is because of providing a comment of 345 characters length in migration script. |
Hi @lgdop , Adding the comment to a migration script didn't reproduce the exception with Migrations 3.3.4 and MySQL 5.7.22 (Connector/J 8.0.11). Please add $ migrate --trace up We may also need the following information.
|
"java.lang.ArrayIndexOutOfBoundsException" was thrown when length of one single line of sql exceeded 1024 chars.
|
@luryson , I still could not reproduce it. |
Mysql version: 5.7.22 JDBC version: 5.1.43 |
-- MyBatis Migrations - infonull 3.3.5-SNAPSHOT (null)
|
Thanks for your help, @luryson ! |
@harawata cool |
Reproducing the problem is always the hardest part. :) And again, thank you both for taking the time to report! |
No description provided.
The text was updated successfully, but these errors were encountered: