mysql decimal bug, date bug