26 Jan
2014
26 Jan
'14
4:09 p.m.
Hi, Sanja! On Jan 23, sanja@askmonty.org wrote:
=== modified file 'sql/sql_select.cc' --- a/sql/sql_select.cc 2014-01-21 13:27:36 +0000 +++ b/sql/sql_select.cc 2014-01-23 12:50:54 +0000 @@ -20463,7 +20463,8 @@ find_order_in_list(THD *thd, Item **ref_ if (!order_item->fixed && (order_item->fix_fields(thd, order->item) || (order_item= *order->item)->check_cols(1) || - thd->is_fatal_error)) + thd->is_fatal_error || + thd->is_error())) return TRUE; /* Wrong field. */
Why not simply
- thd->is_fatal_error)) + thd->is_error()))
can there be a fatal error that is not an error? :) Regards, Sergei