Commit 5829aec0 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

row0sel.c Fix a bug in consistent read through secondary key

parent 81dd2597
...@@ -2700,8 +2700,10 @@ rec_loop: ...@@ -2700,8 +2700,10 @@ rec_loop:
goto next_rec; goto next_rec;
} }
rec = clust_rec; if (prebuilt->need_to_access_clustered) {
rec = clust_rec;
}
} }
/* We found a qualifying row */ /* We found a qualifying row */
......
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