1
0
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:
sergefp@mysql.com
2005-05-18 05:39:10 +02:00
parent 25cf90edbd
commit b6179919f3
6 changed files with 6 additions and 5 deletions

View File

@ -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;
}