MXS-1500: Fix real_type
values
The characters in the type weren't checked for correctness which caused the processing to read more characters than was intended.
This commit is contained in:
parent
465c015005
commit
63cbf56cb2
@ -569,7 +569,7 @@ int extract_type_length(const char* ptr, char *dest)
|
||||
|
||||
/** Skip characters until we either hit a whitespace character or the start
|
||||
* of the length definition. */
|
||||
while (*ptr && !isspace(*ptr) && *ptr != '(')
|
||||
while (*ptr && isalpha(*ptr))
|
||||
{
|
||||
ptr++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user