mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.11 into 11.4
This commit is contained in:
@@ -3764,6 +3764,16 @@ const char* get_one_variable(THD *thd,
|
||||
case SHOW_SLONGLONG:
|
||||
end= longlong10_to_str(*value.as_longlong, buff, -10);
|
||||
break;
|
||||
case SHOW_MICROSECOND_STATUS:
|
||||
{
|
||||
/* Show a long long as double in seconds */
|
||||
ulonglong microseconds;
|
||||
value.as_char= status_var_value.as_char + value.as_intptr;
|
||||
microseconds= *value.as_longlong;
|
||||
/* 6 is the default precision for '%f' in sprintf() */
|
||||
end= buff + my_fcvt(microseconds / 1000000.0, 6, buff, NULL);
|
||||
break;
|
||||
}
|
||||
case SHOW_HAVE:
|
||||
{
|
||||
pos= show_comp_option_name[(int) *value.as_show_comp_options];
|
||||
|
Reference in New Issue
Block a user