Type an UPDATE query against a table, setting some column to NULL and the WHERE condition actually match some rows. In my case, UPDATE api_keys SET fileid=NULL WHERE fileid='';
Simulate the query
phpMyAdmin shows 0 rows affected while simulating, upon investigating the SELECT query used in the simulation, I found "<> NULL", which is believed to be the cause of matching nothing.
Run the query, and see rows updated != 0
Expected behaviour
Matched rows > 0
Actual behaviour
Matched rows == 0
Server configuration
Operating system:
Ubuntu 17.10 x64
Web server:
lighttpd
Database:
MariaDB 10.1.25
PHP version:
7.1.8-1ubuntu1
phpMyAdmin version:
4.6.6deb5
Client configuration
Browser:
Chromium 63.0.3239.84
Operating system:
Ubuntu 17.10 x64
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behaviour
Matched rows > 0
Actual behaviour
Matched rows == 0
Server configuration
Operating system:
Ubuntu 17.10 x64
Web server:
lighttpd
Database:
MariaDB 10.1.25
PHP version:
7.1.8-1ubuntu1
phpMyAdmin version:
4.6.6deb5
Client configuration
Browser:
Chromium 63.0.3239.84
Operating system:
Ubuntu 17.10 x64
The text was updated successfully, but these errors were encountered: