Commit c20911db authored by Mithun C Y's avatar Mithun C Y

Merge branch 'mysql-5.1' into mysql-5.5

parents 91a427be c28626d0
......@@ -11953,6 +11953,11 @@ evaluate_join_record(JOIN *join, JOIN_TAB *join_tab,
join->thd->warning_info->inc_current_row_for_warning();
if (rc != NESTED_LOOP_OK && rc != NESTED_LOOP_NO_MORE_ROWS)
return rc;
/* check for errors evaluating the condition */
if (join->thd->is_error())
return NESTED_LOOP_ERROR;
if (join->return_tab < join_tab)
return NESTED_LOOP_OK;
/*
......
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