Commit 3aa0ead9 authored by Alexander Nozdrin's avatar Alexander Nozdrin

Manual merge from mysql-trunk-merge.

Conflicts:
  - mysql-test/collections/default.experimental
  - mysql-test/suite/rpl/t/rpl_get_master_version_and_clock.test
parents 2b0f6b5a 5a57e6bb
...@@ -552,7 +552,7 @@ JOIN::prepare(Item ***rref_pointer_array, ...@@ -552,7 +552,7 @@ JOIN::prepare(Item ***rref_pointer_array,
there. Such fields don't contain any data to sort. there. Such fields don't contain any data to sort.
*/ */
if (!real_order && if (!real_order &&
(item->type() != Item::Item::FIELD_ITEM || (item->type() != Item::FIELD_ITEM ||
((Item_field *) item)->field->maybe_null() || ((Item_field *) item)->field->maybe_null() ||
((Item_field *) item)->field->sort_length())) ((Item_field *) item)->field->sort_length()))
real_order= TRUE; real_order= TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment