Fuck you, MySQL strict mode. Right in the eye.