diff options
author | Michael Widenius <monty@askmonty.org> | 2011-06-24 10:56:29 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-06-24 10:56:29 +0300 |
commit | 6f5f5b949166a939269956bdf1cbd6349e9a6fcb (patch) | |
tree | 366176232665c718146a031677fbcdedafbaadbf /sql/sql_select.cc | |
parent | 5407f511c218e1366b30f764de8db05522607aab (diff) | |
download | mariadb-git-6f5f5b949166a939269956bdf1cbd6349e9a6fcb.tar.gz |
Fixed typo. (Old code worked as both tested parts where 'bool', but not nice code..)
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 0bd4e8ae647..63eba6b19e3 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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 |