Bug #25361 | Only first digit of Integer gets stored in a data column of type char(30) | ||
---|---|---|---|
Submitted: | 2 Jan 2007 11:38 | Modified: | 5 Jan 2007 10:10 |
Reporter: | Neha Khaitan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.0.27 | OS: | Windows (Windows XP Professional SP2) |
Assigned to: | CPU Architecture: | Any |
[2 Jan 2007 11:38]
Neha Khaitan
[5 Jan 2007 10:10]
Tonci Grgin
Hi Neha and thanks for your report. This is not a bug. You failed to declare length of your in (CHAR) parameter thus it defaults to 1. Try the same from mysql cl client and the result will be the same. Please declare length of CHAR parameter like this: CREATE PROCEDURE testBug25361(IN NULL_PARAM CHAR(2))