-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
EnhancementA feature request for improving phpMyAdminA feature request for improving phpMyAdmingood first issue
Milestone
Description
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:
- Go to for latest demo server https://www.phpmyadmin.net/try/ and use MariaDB
- Click on SQL
- Enter
SELECT 1 -- foobar - Press Run
- Press "Edit" then "Run" again
- SQL is now shown as
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!
Metadata
Metadata
Assignees
Labels
EnhancementA feature request for improving phpMyAdminA feature request for improving phpMyAdmingood first issue
