Commit ef911553 authored by Sergei Petrunia's avatar Sergei Petrunia

Post-merge fix for comments.

parent e22ddd2c
......@@ -9405,9 +9405,11 @@ best_access_path(JOIN *join,
s->cached_forced_index= forced_index;
}
/* psergey-11.0-todo: the below should be:
if (disable_jbuf ||
(!join->allowed_outer_join_with_cache && (s->table->map & join->outer_join))) */
/*
Note: the condition checked here is very out of date and incorrect.
Below, we use a more accurate check when assigning the value of
best.use_join_buffer.
*/
if ((s->table->map & join->outer_join) || disable_jbuf)
{
/*
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