Commit 45c72a56 authored by unknown's avatar unknown
Browse files

row0sel.c:

  row_search_for_mysql(): Add a clarifying comment.


innobase/row/row0sel.c:
  row_search_for_mysql(): Add a clarifying comment.
parent 2a66f66d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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)) {