Commit 0f9b1363 authored by unknown's avatar unknown

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


innobase/row/row0sel.c:
  Fix a bug in consistent read through a secondary index
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 95015b08
jani@janikt.pp.saunalahti.fi
heikki@donna.mysql.fi
......@@ -2207,7 +2207,7 @@ row_sel_get_clust_rec_for_mysql(
visit through secondary index records that would not really
exist in our snapshot. */
if ((old_vers || rec_get_deleted_flag(rec))
if (clust_rec && (old_vers || rec_get_deleted_flag(rec))
&& !row_sel_sec_rec_is_for_clust_rec(rec, sec_index,
clust_rec, clust_index)) {
clust_rec = NULL;
......
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