-
-
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
Semicolon repeatedly suffixed onto SQL if query ends in comment #17635
Labels
Milestone
Comments
I am happy to have such detailed reports. We need users to report things they are not happy about ;) |
williamdes
added
enhancement
A feature request for improving phpMyAdmin
good first issue
labels
Jul 11, 2022
This was referenced Sep 2, 2022
Can I give it a try to fix this issue if it is not fixed? |
Sure, let me know if you need help |
6 tasks
williamdes
pushed a commit
to LakshayaTohan/phpmyadmin
that referenced
this issue
May 6, 2023
…SQL query Signed-off-by: Lakshaya Tohan <lakshaya.tohan@gmail.com>
williamdes
added a commit
to LakshayaTohan/phpmyadmin
that referenced
this issue
May 6, 2023
… the query Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes
added a commit
to LakshayaTohan/phpmyadmin
that referenced
this issue
May 6, 2023
Signed-off-by: William Desportes <williamdes@wdes.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If the end of an SQL statement is a comment, PHPMyAdmin will repeatedly inject a semicolon onto the end each time it is edited.
To Reproduce
Steps to reproduce the behavior:
SELECT 1 -- foobar
SELECT 1 -- foobar;;
, repeating step 5 will add another;
on each time.Expected behavior
SQL should be
SELECT 1 -- foobar;
, or ideally I suppose, leaving my SQL unaltered and not adding or removing any semicolons.Screenshots
Additional context
Apologies for reporting such a trivial thing!
The text was updated successfully, but these errors were encountered: