Ensure consistent sources up to 5.0 where a C++ problem occurs.
This commit is contained in:
parent
134aa0b97b
commit
cf722bc3f5
@ -554,7 +554,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
|
|||||||
{
|
{
|
||||||
char *pos,buff[40];
|
char *pos,buff[40];
|
||||||
ulong sec;
|
ulong sec;
|
||||||
pos=strchr(status,' ');
|
pos= (char*) strchr(status,' ');
|
||||||
*pos++=0;
|
*pos++=0;
|
||||||
printf("%s\t\t\t",status); /* print label */
|
printf("%s\t\t\t",status); /* print label */
|
||||||
if ((status=str2int(pos,10,0,LONG_MAX,(long*) &sec)))
|
if ((status=str2int(pos,10,0,LONG_MAX,(long*) &sec)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user