Hacker News new | ask | show | jobs
by NavinF 1259 days ago
It doesn't block inserts with invalid data? I thought that was the whole point of telling the database what types you're using
2 comments

MySQL historically isn't very good about blocking bad data. Sometimes it would silently truncate strings to fit the column type, for example. It's getting better as time goes on, though.
It does and poster above is incompetent
I have had customer production sites go down due to this issue when emojis first arrived. It was a common issue in 2015. I would hope it is fixed by now!