diff options
author | Georgi Kodinov <joro@sun.com> | 2010-02-01 13:40:16 +0200 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2010-02-01 13:40:16 +0200 |
commit | 1ff667c995a1a597615a9fb4820218d48659ae71 (patch) | |
tree | 3a320539faf471daaeb694b7fbfe379dcc6b9896 /sql/sql_select.cc | |
parent | d468e242b300f95214e05d3aba60cc24bb2f74b3 (diff) | |
download | mariadb-git-1ff667c995a1a597615a9fb4820218d48659ae71.tar.gz |
fixed a typo in bug #49897.
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 239809f1d4c..eecc2b086a3 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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; |