Menu

#670 Wrong column displayed when data is NULL in previous column(s)

4.7.1
closed-fixed
nobody
None
5
2025-03-07
2019-02-08
No

Adminer: 4.7.1 (latest)
MySQL version: 5.5.5-10.2.21-MariaDB-10.2.21+maria~xenial through PHP extension MySQLi

Please see attached images. Bug and noBug respectively.

Raw SQL works of course. Only Adminer view eats up entire column and mixes up data from two columns where column with NULL values simply vanishes from the view.

2 Attachments

Discussion

  • Nemanja Stambolic

    So basically how I stumbled upon the bug: I have mistekenly selected same column twice accepts_head_requests. The adminer somehow then mixed values from the last column max_crawls_per_hour with column title being all good as shown.

     
  • Jakub Vrána

    Jakub Vrána - 2019-07-14
    • status: open --> open-accepted
     
  • Jakub Vrána

    Jakub Vrána - 2019-07-14

    Selecting the same column twice is not supported but it should be or there should be at least an error message.

     
  • Olaf van der Spek

    Selecting the same column twice is not supported

    Why?

     
  • Jakub Vrána

    Jakub Vrána - 2025-03-07
    • status: open-accepted --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2025-03-07

    As of 95e6a659, Adminer now at least removes the duplicate columns from select.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.