diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2014-08-09 06:37:56 +0400 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2014-08-09 06:37:56 +0400 |
commit | 33d53c4c24881d4906cacc791c2049faa96a0ee6 (patch) | |
tree | 18bf6a1bd9527509543d40b12fd4c2018b914258 /sql/my_json_writer.cc | |
parent | 83f0ddc6294ea8d4e424a540a043bf88ee4a8c8d (diff) | |
download | mariadb-git-33d53c4c24881d4906cacc791c2049faa96a0ee6.tar.gz |
MDEV-6109: EXPLAIN JSON
- Add first testcases
- Don't overquote when printing conditions
- Other small output fixes
Diffstat (limited to 'sql/my_json_writer.cc')
-rw-r--r-- | sql/my_json_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_json_writer.cc b/sql/my_json_writer.cc index 206597da59e..d07b13a3d65 100644 --- a/sql/my_json_writer.cc +++ b/sql/my_json_writer.cc @@ -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; } |