mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
bug#13556 - (ndb) - incorrect parsing in tablespace code
end_ptr to my_strtoll10 is in/out parameter
This commit is contained in:
parent
b4ca22e685
commit
87202d31db
1 changed files with 1 additions and 1 deletions
|
@ -3215,9 +3215,9 @@ size_number:
|
|||
ulonglong number, test_number;
|
||||
uint text_shift_number= 0;
|
||||
longlong prefix_number;
|
||||
char *end_ptr;
|
||||
char *start_ptr= $1.str;
|
||||
uint str_len= strlen(start_ptr);
|
||||
char *end_ptr= start_ptr + str_len;
|
||||
int error;
|
||||
prefix_number= my_strtoll10(start_ptr, &end_ptr, &error);
|
||||
if ((start_ptr + str_len - 1) == end_ptr)
|
||||
|
|
Loading…
Reference in a new issue