mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Change Last_query_cost status variable from global to thread-local.
This commit is contained in:
@ -1358,6 +1358,7 @@ static bool show_status_array(THD *thd, const char *wild,
|
||||
}
|
||||
case SHOW_DOUBLE:
|
||||
{
|
||||
value= ((char *) status_var + (ulong) value);
|
||||
end= buff + sprintf(buff, "%f", *(double*) value);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user