mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
This commit is contained in:
@ -7363,7 +7363,7 @@ part_of_refkey(TABLE *table,Field *field)
|
||||
|
||||
for (uint part=0 ; part < ref_parts ; part++,key_part++)
|
||||
if (field->eq(key_part->field) &&
|
||||
!(key_part->key_part_flag & HA_PART_KEY_SEG))
|
||||
!(key_part->key_part_flag & (HA_PART_KEY_SEG | HA_NULL_PART)))
|
||||
return table->reginfo.join_tab->ref.items[part];
|
||||
}
|
||||
return (Item*) 0;
|
||||
|
Reference in New Issue
Block a user