List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:December 27 2008 3:32am
Subject:bzr commit into mysql-6.0-opt-subqueries branch (sergefp:2752)
View as plain text  
#At file:///home/spetrunia/dev/mysql-6.0-subq-r20-vg/ based on
revid:sergefp@stripped

 2752 Sergey Petrunia	2008-12-27
      Added comments
modified:
  sql/opt_range.h

per-file messages:
  sql/opt_range.h
    Added comments
=== modified file 'sql/opt_range.h'
--- a/sql/opt_range.h	2008-08-25 18:23:27 +0000
+++ b/sql/opt_range.h	2008-12-27 02:32:25 +0000
@@ -108,7 +108,11 @@ class QUICK_RANGE :public Sql_alloc {
 
   4. Delete the select:
     delete quick;
-
+  
+  NOTE 
+    quick select doesn't use Sql_alloc/MEM_ROOT allocation because "range
+    checked for each record" functionality may create/destroy
+    O(#records_in_some_table) quick selects during query execution.
 */
 
 class QUICK_SELECT_I

Thread
bzr commit into mysql-6.0-opt-subqueries branch (sergefp:2752)Sergey Petrunia27 Dec