mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6109: EXPLAIN JSON
- Add first testcases - Don't overquote when printing conditions - Other small output fixes
This commit is contained in:
@ -100,7 +100,7 @@ void Json_writer::add_double(double val)
|
||||
start_element();
|
||||
|
||||
char buf[64];
|
||||
my_snprintf(buf, sizeof(buf), "%lf", val);
|
||||
my_snprintf(buf, sizeof(buf), "%lg", val);
|
||||
output.append(buf);
|
||||
element_started= false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user