Commit 91df1608 authored by unknown's avatar unknown

sql_select.cc: compilation failure fixed



sql/sql_select.cc:
  why cannot I compare (type) to (const type) ?????
parent 8f68a9eb
...@@ -7999,7 +7999,7 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, ...@@ -7999,7 +7999,7 @@ find_order_in_list(THD *thd, Item **ref_pointer_array,
if (!item) if (!item)
return 1; return 1;
if (item != not_found_item) if (item != (Item **)not_found_item)
{ {
order->item= ref_pointer_array + counter; order->item= ref_pointer_array + counter;
order->in_field_list=1; order->in_field_list=1;
......
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