-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
5.1.2 - SQL export of views from MySQL database has several mistakes #17321
Comments
Hi @iifawzi |
Hi, sure, I will take a look on it in a week ( after finishing my final exams ). |
Hi @HBoskugel |
Sorry, can't test it next days. The problem came up during my work. Our customer uses a central installation of phpMyAdmin from a web hosting provider. So we don't have an own instance. And also im currently not working in case of illness. May be in around one or two week I have a possibility to test it. Then I will test also the other issues #16549 and #16510. Additional background: |
Hi @HBoskugel, I wish you get better very soon. I can confirm that all of the mentioned issues are now fixed, when the first two issues got fixed, they mistakenly caused the one you've mentioned here, which's fixed at phpmyadmin/sql-parser#371. For #16549 and #16510 they're fixed and released since a while, if the provider is using the latest version, parser will parse them as expected. In order for this issue to be fixed, we would need to wait until the next releases of sql-parser and phpmyadmin. |
Now it looks well. Tested with phpMyAdmin 5.1.0 (from XAMPP 7.4.16 for Windows) and 5.1.3 (from download in XAMPP 7.4.16 for Windows). In both cases detected no error. |
Thanks for testing, I’m really happy to hear that it worked. |
… statements Ref: phpmyadmin/phpmyadmin#17321 Pull-request: #371 Signed-off-by: William Desportes <williamdes@wdes.fr>
Still waiting to become part of the final version. Checked out 5.2.0 already. |
The (phpMyAdmin 5.2+snapshot) also available as a non official docker image is updated with the fix 🚀 |
…tions Fixes: phpmyadmin/phpmyadmin#17321 Signed-off-by: iifawzi <iifawzie@gmail.com>
…tions Fixes: phpmyadmin/phpmyadmin#17321 Signed-off-by: iifawzi <iifawzie@gmail.com>
Closing it as #17830 can be subscribed to know when the release is out |
Describe the bug
During export of views from a MySQL database the end of the view statement in some cases contains duplications or wrong/misformated statement parts.
To Reproduce
Export a database as SQL and try to import it again
Expected behavior
No error should occur during import
Screenshots
Samples:
Server configuration
Client configuration
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: