Skip to content

Commit

Permalink
MDEV-25875: JSON_TABLE: extract document fragment into JSON column
Browse files Browse the repository at this point in the history
Fixup
  • Loading branch information
mariadb-RuchaDeodhar committed May 31, 2022
1 parent a9f6abe commit a616035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/json_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ int Json_table_column::set(THD *thd, enum_type ctype, const LEX_CSTRING &path,
m_path.s.c_str= (const uchar *) path.str;

if (ctype == PATH)
m_format_json= m_field->type_handler() == &type_handler_json_longtext;
m_format_json= m_field->type_handler() == &type_handler_long_blob_json;

return 0;
}
Expand Down

0 comments on commit a616035

Please sign in to comment.