1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-25255 JSON_TABLE: CREATE TABLE ignores NULL ON ERROR (implicit or explicit) and fails.

should not abort on field::set().
This commit is contained in:
Alexey Botchkov
2021-03-28 18:02:58 +04:00
parent d2e2219e46
commit 13390a70e2
3 changed files with 17 additions and 0 deletions

View File

@ -325,6 +325,7 @@ int ha_json_table::fill_column_values(uchar * buf, uchar *pos)
Json_table_column *jc;
List_iterator_fast<Json_table_column> jc_i(m_jt->m_columns);
my_ptrdiff_t ptrdiff= buf - table->record[0];
Abort_on_warning_instant_set ao_set(table->in_use, FALSE);
while ((jc= jc_i++))
{