fixed a typo in bug #49897.

This commit is contained in:
Georgi Kodinov 2010-02-01 13:40:16 +02:00
parent d468e242b3
commit 1ff667c995

View File

@ -531,7 +531,7 @@ JOIN::prepare(Item ***rref_pointer_array,
there. Such fields don't contain any data to sort.
*/
if (!real_order &&
(item->type() != Item::Item::FIELD_ITEM ||
(item->type() != Item::FIELD_ITEM ||
((Item_field *) item)->field->maybe_null() ||
((Item_field *) item)->field->sort_length()))
real_order= TRUE;