Fixing MySQL error when inserting fractional datetimes on MySQL versions 5.7+...

Lewis Sobotkiewicz
2016-05-06T10:08:40+02:00

Closes #5387