Bug #2484 | SELECT SUBSTRING bug | ||
---|---|---|---|
Submitted: | 22 Jan 2004 14:21 | Modified: | 22 Jan 2004 14:43 |
Reporter: | Donny Simonton | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1 and 3.x | OS: | Linux (Linux) |
Assigned to: | Dean Ellis | CPU Architecture: | Any |
[22 Jan 2004 14:21]
Donny Simonton
[22 Jan 2004 14:43]
Dean Ellis
This is expected behaviour. 1) The position for SUBSTRING() begins with 1, not 0. 2) Converting the integer 012345 to a string results in a string of '12345'. Thank you.
[22 Jan 2004 14:47]
Donny Simonton
We just figured that one out, sorry for wasting your time on this one.