mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Make THDVAR_INT variables to be signed in SELECT in SHOW
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user