mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merging
sql/mysql_priv.h: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged
This commit is contained in:
@ -5698,6 +5698,9 @@ make_cond_for_table(COND *cond,table_map tables,table_map used_table)
|
||||
static Item *
|
||||
part_of_refkey(TABLE *table,Field *field)
|
||||
{
|
||||
if (!table->reginfo.join_tab)
|
||||
return (Item*) 0; // field from outer non-select (UPDATE,...)
|
||||
|
||||
uint ref_parts=table->reginfo.join_tab->ref.key_parts;
|
||||
if (ref_parts)
|
||||
{
|
||||
|
Reference in New Issue
Block a user