As the bug was already fixed, just testcase added here mysql-test/r/type_newdecimal.result: test result fixed mysql-test/t/type_newdecimal.test: test case added