For short data type My SQL Bug #1382 was not handled