mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
row0sel.c:
row_search_for_mysql(): Add a clarifying comment. innobase/row/row0sel.c: row_search_for_mysql(): Add a clarifying comment.
This commit is contained in:
parent
2a66f66dfb
commit
45c72a5680
1 changed files with 6 additions and 0 deletions
|
@ -3725,6 +3725,12 @@ rec_loop:
|
|||
|
||||
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)) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue