mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
Made optional Json_writer_object / Json_writer_array consistency check
This commit is contained in:
parent
cf8e78a401
commit
052dda61bb
3 changed files with 22 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue