This is the first time that this has happened as far as I can tell.
I have new tables/forms set up recently. A simple smallint(6) variable. When I do a new related record and put 0 (that is zero) in the field and save, the 0 is not actually recorded, I get a null instead. If I then edit the form and enter a 0, it sticks.