Commit 5c478d64 authored by Sergei Petrunia's avatar Sergei Petrunia

Remove Table_function_json_table::m_text_literal_cs - it is not used.

parent 216fdb15
......@@ -261,9 +261,6 @@ class Table_function_json_table : public Sql_alloc
/* SQL Parser: current column in JSON_TABLE (...) syntax */
Json_table_column *m_cur_json_table_column;
/* SQL Parser: charset of the current text literal */
CHARSET_INFO *m_text_literal_cs;
private:
/* Context to be used for resolving the first argument. */
Name_resolution_context *m_context;
......
......@@ -11581,16 +11581,9 @@ table_ref:
json_text_literal:
TEXT_STRING
{
Lex->json_table->m_text_literal_cs= NULL;
}
| NCHAR_STRING
{
Lex->json_table->m_text_literal_cs= national_charset_info;
}
| UNDERSCORE_CHARSET TEXT_STRING
{
Lex->json_table->m_text_literal_cs= $1;
$$= $2;
}
;
......@@ -11598,21 +11591,9 @@ json_text_literal:
json_text_literal_or_num:
json_text_literal
| NUM
{
Lex->json_table->m_text_literal_cs= NULL;
}
| LONG_NUM
{
Lex->json_table->m_text_literal_cs= NULL;
}
| DECIMAL_NUM
{
Lex->json_table->m_text_literal_cs= NULL;
}
| FLOAT_NUM
{
Lex->json_table->m_text_literal_cs= NULL;
}
;
join_table_list:
......
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