Skip to content

Commit

Permalink
Follow-up post JSON_TABLE merge, table_join_options is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
cvicentiu committed Apr 21, 2021
1 parent 3019d1c commit bc04ded
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sql/sql_yacc.yy
Original file line number Diff line number Diff line change
Expand Up @@ -11691,13 +11691,11 @@ table_function:
}
if (unlikely(Lex->json_table->m_nested_path.set_path(thd, $7)))
MYSQL_YYABORT;
sel->table_join_options= 0;
if (!($$= Select->add_table_to_list(thd,
if (!($$= sel->add_table_to_list(thd,
new (thd->mem_root) Table_ident(thd, &any_db,
$10, TRUE),
NULL,
Select->get_table_join_options() |
TL_OPTION_TABLE_FUNCTION,
TL_OPTION_TABLE_FUNCTION,
YYPS->m_lock_type,
YYPS->m_mdl_type,
0,0,0)))
Expand Down

0 comments on commit bc04ded

Please sign in to comment.