MCPcopy Create free account
hub / github.com/MariaDB/server / init_json_engine

Method init_json_engine

sql/json_table.cc:451–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451void Json_table_nested_path::init_json_engine()
452{
453 mem_root_dynamic_array_init(current_thd->mem_root, PSI_INSTRUMENT_MEM,
454 &m_engine.stack, sizeof(int), NULL,
455 JSON_DEPTH_DEFAULT, JSON_DEPTH_INC, MYF(0));
456 mem_root_dynamic_array_init(current_thd->mem_root, PSI_INSTRUMENT_MEM,
457 &m_cur_path.steps, sizeof(json_path_step_t), NULL,
458 JSON_DEPTH_DEFAULT, JSON_DEPTH_INC, MYF(0));
459 mem_root_dynamic_array_init(current_thd->mem_root, PSI_INSTRUMENT_MEM,
460 &m_path.steps, sizeof(json_path_step_t), NULL,
461 JSON_DEPTH_DEFAULT, JSON_DEPTH_INC, MYF(0));
462}
463
464
465int ha_json_table::rnd_next(uchar *buf)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected