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