Commit 42ea96f9 authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

row0sel.c:

  row_search_for_mysql(): Add a clarifying comment.
parent 3c55fef5
......@@ -3725,6 +3725,12 @@ row_search_for_mysql(
index_rec = rec;
/* Before and after the following "if" block, "offsets" will be
related to "rec", which may be in "index", a secondary index or
the clustered index ("clust_index"). However, after this "if" block,
"rec" may be pointing to "clust_rec" of "clust_index". */
ut_ad(rec_offs_validate(rec, index, offsets));
if (index != clust_index && (cons_read_requires_clust_rec
|| prebuilt->need_to_access_clustered)) {
......
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