mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-25202: JSON_TABLE: Early table reference leads to unexpected result set
Followup to review input address commit: pass the new parameter type to find_field_in_table_ref().
This commit is contained in:
committed by
Alexey Botchkov
parent
a4353c25ca
commit
e4665f417b
@ -99,7 +99,7 @@ static bool init_fields(THD *thd, TABLE_LIST *tables,
|
||||
Lex_cstring_strlen(find_fields->table_name),
|
||||
Lex_cstring_strlen(find_fields->field_name)));
|
||||
if (!(find_fields->field= find_field_in_tables(thd, field, tables, NULL,
|
||||
table_map(0),
|
||||
ignored_tables_list_t(NULL),
|
||||
0, REPORT_ALL_ERRORS, 1,
|
||||
TRUE)))
|
||||
DBUG_RETURN(1);
|
||||
|
Reference in New Issue
Block a user