1
0
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:
Sergei Petrunia
2014-08-09 06:37:56 +04:00
parent 83f0ddc629
commit 33d53c4c24
8 changed files with 100 additions and 20 deletions

View File

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