List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:January 25 2006 9:09pm
Subject:bk commit into 4.1 tree (sergefp:1.2458) BUG#15935
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of psergey. When psergey does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository

  1.2458 06/01/26 00:09:04 sergefp@stripped +1 -0
  BUG#15935: post-review fixes: added comment

    1.153 06/01/26 00:09:01 sergefp@stripped +10 -0
    BUG#15935: post-review fixes: added comment

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	sergefp
# Host:	newbox.mylan
# Root:	/home/psergey/mysql-4.1-bug15935

--- 1.152/sql/	2006-01-25 23:25:19 +03:00
+++ 1.153/sql/	2006-01-26 00:09:01 +03:00
@@ -243,6 +243,16 @@
 	goto err;
+      /*
+        When we get here, we have one of the following options:
+        A. used_index == MAX_KEY
+           This means we should use full table scan, and start it with
+           init_read_record call
+        B. used_index != MAX_KEY
+           B.1 quick select is used, start the scan with init_read_record
+           B.2 quick select is not used, this is full index scan (with LIMIT)
+               Full index scan must be started with init_read_record_idx
+      */
       if (used_index == MAX_KEY || (select && select->quick))
bk commit into 4.1 tree (sergefp:1.2458) BUG#15935Sergey Petrunia25 Jan