1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Make THDVAR_INT variables to be signed in SELECT in SHOW

This commit is contained in:
Sergei Golubchik
2014-04-09 14:28:07 +02:00
parent ab157e4556
commit 32b3c9f35d
5 changed files with 27 additions and 8 deletions

View File

@ -2703,7 +2703,7 @@ static bool show_status_array(THD *thd, const char *wild,
end= int10_to_str((long) *(uint*) value, buff, 10);
break;
case SHOW_SINT:
end= int10_to_str((long) *(uint*) value, buff, -10);
end= int10_to_str((long) *(int*) value, buff, -10);
break;
case SHOW_SLONG:
end= int10_to_str(*(long*) value, buff, -10);