This is ANSI standard SQL behaviour, NULL has a specific meaning, not the same as empty!
As the MySQL docs say ...
The concept of the NULL value is a common source of confusion for newcomers to SQL, who often think that NULL is the same thing as an empty string "". This is not the...