diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 61d86c85972b2bf7ec2547aa78de7999a8fe5e3b..38f1c62ec601162855f3fc2c28796c1875cb5d7a 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -1725,7 +1725,7 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds, sizeof(POSITION)*join->const_tables); join->best_read=1.0; } - DBUG_RETURN(join->thd->killed_errno() || get_best_combination(join)); + DBUG_RETURN(join->thd->killed || get_best_combination(join)); }