Commit 22347482 authored by Sergei Golubchik's avatar Sergei Golubchik

print more digits for floating point options in in mariadbd --help

parent 1b5883fd
...@@ -1748,7 +1748,7 @@ log-queries-not-using-indexes FALSE ...@@ -1748,7 +1748,7 @@ log-queries-not-using-indexes FALSE
log-short-format FALSE log-short-format FALSE
log-slave-updates FALSE log-slave-updates FALSE
log-slow-admin-statements TRUE log-slow-admin-statements TRUE
log-slow-always-query-time 3.1536e+07 log-slow-always-query-time 31536000
log-slow-disabled-statements sp log-slow-disabled-statements sp
log-slow-filter admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk log-slow-filter admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log-slow-max-warnings 10 log-slow-max-warnings 10
...@@ -1960,7 +1960,7 @@ skip-name-resolve FALSE ...@@ -1960,7 +1960,7 @@ skip-name-resolve FALSE
skip-networking FALSE skip-networking FALSE
skip-show-database FALSE skip-show-database FALSE
skip-slave-start FALSE skip-slave-start FALSE
slave-abort-blocking-timeout 3.1536e+07 slave-abort-blocking-timeout 31536000
slave-compressed-protocol FALSE slave-compressed-protocol FALSE
slave-connections-needed-for-purge 1 slave-connections-needed-for-purge 1
slave-ddl-exec-mode IDEMPOTENT slave-ddl-exec-mode IDEMPOTENT
......
...@@ -1818,7 +1818,7 @@ void my_print_variables(const struct my_option *options) ...@@ -1818,7 +1818,7 @@ void my_print_variables(const struct my_option *options)
printf("%s\n", buff); printf("%s\n", buff);
break; break;
case GET_DOUBLE: case GET_DOUBLE:
printf("%g\n", *(double*) value); printf("%.10g\n", *(double*) value);
break; break;
case GET_NO_ARG: case GET_NO_ARG:
printf("(No default value)\n"); printf("(No default value)\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment