It's by design according to http://bugs.mysql.com/bug.php?id=3857
[21 Jul 2004 22:26] Timothy Smith (Senior Support Engineer in those days)
This is because MySQL reports the DEFAULT value for such a column as NULL. It means, if you
insert a NULL value into the column, you will get the next integer value for the table's
auto_increment counter.
It is still valid and @kordirko's solution is quite acceptable.