Wrong column displayed when data is NULL in previous column(s)
Database management in a single PHP file
Brought to you by:
jakubvrana
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.
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 columnmax_crawls_per_hour
with column title being all good as shown.Selecting the same column twice is not supported but it should be or there should be at least an error message.
Why?
As of 95e6a659, Adminer now at least removes the duplicate columns from select.