Made optional Json_writer_object / Json_writer_array consistency check

This commit is contained in:
Sergei Krivonos 2021-10-17 12:36:12 +03:00
commit 052dda61bb
3 changed files with 22 additions and 0 deletions

View file

@ -260,7 +260,9 @@ void Json_writer::add_str(const String &str)
add_str(str.ptr(), str.length());
}
#ifdef ENABLED_JSON_WRITER_CONSISTENCY_CHECKS
thread_local std::vector<bool> Json_writer_struct::named_items_expectation;
#endif
Json_writer_temp_disable::Json_writer_temp_disable(THD *thd_arg)
{