phpmyadmin/phpmyadmin

inline editing in "select distinct" does not quote the values correctly

Open

#15,523 opened on Oct 23, 2019

View on GitHub
 (7 comments) (0 reactions) (0 assignees)PHP (3,454 forks)batch import
Bughelp wantedwaiting on upstream

Repository metrics

Stars
 (6,886 stars)
PR merge metrics
 (Avg merge 2d 17h) (11 merged PRs in 30d)

Description

Describe the bug

When editing a value inline after running a "select distinct" statement, the values generated by the SQL query have quotes missing, causing SQL error.

To Reproduce

Steps to reproduce the behavior:

  1. Run a "select distinct" statement on a table
  2. Click on a value to edit it
  3. See error

Expected behavior

The value is changed

Screenshots

If applicable, add screenshots to help explain your problem. image

Server configuration

  • Operating system: Debian
  • Web server: Apache
  • Database version: MariaDB 10.3.18
  • PHP version: 7.3.3
  • phpMyAdmin version: 4.9.0.1

Client configuration

  • Browser: Chrome
  • Operating system: Ubuntu

Additional context

Add any other context about the problem here.

Contributor guide