summaryrefslogtreecommitdiff
path: root/sql/my_json_writer.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-11-29 03:07:24 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-11-29 03:07:24 +0300
commite235bb864d2b8daae3dc7061249f59fb0127bdc5 (patch)
treee8b48285ac8e14a5e0c004ccdcba6d60d3bc71ca /sql/my_json_writer.h
parent0b5d989c894a14ebcb786940fafd025e31523d8b (diff)
downloadmariadb-git-e235bb864d2b8daae3dc7061249f59fb0127bdc5.tar.gz
ANALYZE FORMAT=JSON: better output and tests
- Print r_loops - Always print r_* members. Print NULL values if no scans took place - Added testcases.
Diffstat (limited to 'sql/my_json_writer.h')
-rw-r--r--sql/my_json_writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/my_json_writer.h b/sql/my_json_writer.h
index 35bd5cba544..48e743bb720 100644
--- a/sql/my_json_writer.h
+++ b/sql/my_json_writer.h
@@ -99,6 +99,7 @@ public:
void add_ll(longlong val);
void add_double(double val);
void add_bool(bool val);
+ void add_null();
private:
void add_unquoted_str(const char* val);