Commit e2d5eb67 authored by Alexey Botchkov's avatar Alexey Botchkov

MDEV-25263 JSON_TABLE: json_table test fails with valgrind.

Field reset added.
parent 11c8ce43
......@@ -722,10 +722,7 @@ bool Create_json_table::finalize(THD *thd, TABLE *table,
m_null_count & 7);
m_null_count+= (field->field_length & 7);
}
/*
Here we'd call the field->reset(), but we're doing it later
in Table_function_json_table::setup as we define charsets there.
*/
field->reset();
/*
Test if there is a default field value. The test for ->ptr is to skip
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment