From 50d5bb5bbfc5187df68a53044ed08b7f09d93a07 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 9 May 2001 23:06:52 +0300 Subject: row0sel.c Fix a bug in consistent read through secondary key innobase/row/row0sel.c: Fix a bug in consistent read through secondary key --- innobase/row/row0sel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'innobase') diff --git a/innobase/row/row0sel.c b/innobase/row/row0sel.c index 36ecdce545c..58e0d053947 100644 --- a/innobase/row/row0sel.c +++ b/innobase/row/row0sel.c @@ -2700,8 +2700,10 @@ rec_loop: goto next_rec; } - - rec = clust_rec; + + if (prebuilt->need_to_access_clustered) { + rec = clust_rec; + } } /* We found a qualifying row */ -- cgit v1.2.1