1
0
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:
ramil/ram@myoffice.izhnet.ru
2006-10-23 10:32:39 +05:00
6 changed files with 29 additions and 5 deletions

View File

@@ -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