summaryrefslogtreecommitdiff
path: root/sql/my_json_writer.h
diff options
context:
space:
mode:
authorSergei Krivonos <sergei.krivonos@mariadb.com>2021-11-15 00:42:26 +0200
committerSergei Krivonos <sergeikrivonos@gmail.com>2021-11-26 12:44:20 +0200
commita01c82ef2e95b31334034e55e97fb4f2e25ff4be (patch)
tree38655dbf40a16a5b96959460d18ae8cb4e7bf64b /sql/my_json_writer.h
parentcddbd25df55551aa1aa30c5446c68b5ef8e39b5a (diff)
downloadmariadb-git-a01c82ef2e95b31334034e55e97fb4f2e25ff4be.tar.gz
Json_writer_object add integers
Diffstat (limited to 'sql/my_json_writer.h')
-rw-r--r--sql/my_json_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_json_writer.h b/sql/my_json_writer.h
index 089abd0ad48..ec5c49ccd46 100644
--- a/sql/my_json_writer.h
+++ b/sql/my_json_writer.h
@@ -17,6 +17,7 @@
#define JSON_WRITER_INCLUDED
#include "my_base.h"
+#include "sql_select.h"
#if !defined(NDEBUG) || defined(JSON_WRITER_UNIT_TEST) || defined ENABLED_JSON_WRITER_CONSISTENCY_CHECKS
#include <set>
@@ -31,7 +32,6 @@ constexpr uint FAKE_SELECT_LEX_ID= UINT_MAX;
// Also, mock objects are defined in my_json_writer-t.cc
#define VALIDITY_ASSERT(x) if (!(x)) this->invalid_json= true;
#else
-#include "sql_select.h"
#define VALIDITY_ASSERT(x) DBUG_ASSERT(x)
#endif