Fixed typo. (Old code worked as both tested parts where 'bool', but not nice code..)

This commit is contained in:
Michael Widenius 2011-06-24 10:56:29 +03:00
parent 5407f511c2
commit 6f5f5b9491

View file

@ -10642,7 +10642,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
{
cur_group->buff=(char*) group_buff;
if (maybe_null & !field->null_bit)
if (maybe_null && !field->null_bit)
{
/*
This can only happen in the unusual case where an outer join