mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Merge mysql.com:/usr/home/ram/work/bug20732/my50-bug20732
into mysql.com:/usr/home/ram/work/bug20732/my51-bug20732
This commit is contained in:
@@ -1168,7 +1168,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
|
||||
as we need to test for NULL = NULL.
|
||||
*/
|
||||
if (field->real_maybe_null())
|
||||
key_part->key_part_flag|= HA_PART_KEY_SEG;
|
||||
key_part->key_part_flag|= HA_NULL_PART;
|
||||
}
|
||||
keyinfo->usable_key_parts= usable_parts; // Filesort
|
||||
|
||||
|
Reference in New Issue
Block a user