[Commits] Rev 2882: Removed some old comments. in http://bazaar.launchpad.net/~maria-captains/maria/5.3/

serg at askmonty.org serg at askmonty.org
Tue Jan 18 18:34:04 EET 2011


At http://bazaar.launchpad.net/~maria-captains/maria/5.3/

------------------------------------------------------------
revno: 2882
revision-id: sergii at pisem.net-20110114103109-j25rg1cnudzwds2f
parent: psergey at askmonty.org-20110117212604-lsmczh8j985h3qc5
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.3-monty
timestamp: Fri 2011-01-14 11:31:09 +0100
message:
  Removed some old comments.
  
  mysys/my_handler.c:
    Fixed typo
-------------- next part --------------
=== modified file 'mysys/my_handler.c'
--- a/mysys/my_handler.c	2010-08-27 14:12:44 +0000
+++ b/mysys/my_handler.c	2011-01-14 10:31:09 +0000
@@ -659,7 +659,7 @@ void my_handler_error_register(void)
   /*
     If you got compilation error here about compile_time_assert array, check
     that every HA_ERR_xxx constant has a corresponding error message in
-    handler_error_messages[] list (check mysys/ma_handler_errors.h and
+    handler_error_messages[] list (check mysys/my_handler_errors.h and
     include/my_base.h).
   */
   compile_time_assert(HA_ERR_FIRST + array_elements(handler_error_messages) ==

=== modified file 'sql/opt_subselect.cc'
--- a/sql/opt_subselect.cc	2011-01-14 23:07:04 +0000
+++ b/sql/opt_subselect.cc	2011-01-14 10:31:09 +0000
@@ -2741,9 +2741,6 @@ TABLE *create_duplicate_weedout_tmp_tabl
     field->set_table_name(&table->alias);
   }
 
-  //param->recinfo=recinfo;
-  //store_record(table,s->default_values);        // Make empty default record
-
   if (thd->variables.tmp_table_size == ~ (ulonglong) 0)         // No limit
     share->max_rows= ~(ha_rows) 0;
   else

=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2011-01-15 20:42:32 +0000
+++ b/sql/sql_select.cc	2011-01-14 10:31:09 +0000
@@ -38,12 +38,6 @@
 #include <my_bit.h>
 #include <hash.h>
 #include <ft_global.h>
-//#if defined(WITH_ARIA_STORAGE_ENGINE) && defined(USE_MARIA_FOR_TMP_TABLES)
-//#include "../storage/maria/ha_maria.h"
-//#define TMP_ENGINE_HTON maria_hton
-//#else
-//#define TMP_ENGINE_HTON myisam_hton
-//#endif
 
 const char *join_type_str[]={ "UNKNOWN","system","const","eq_ref","ref",
                               "MAYBE_REF","ALL","range","index","fulltext",
@@ -12076,7 +12070,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARA
   }
 
   param->copy_field_end=copy;
-  param->recinfo=recinfo;
+  param->recinfo= recinfo;                      // Pointer to after last field
   store_record(table,s->default_values);        // Make empty default record
 
   if (thd->variables.tmp_table_size == ~ (ulonglong) 0)         // No limit
@@ -12177,7 +12171,6 @@ create_tmp_table(THD *thd,TMP_TABLE_PARA
         indexes on blobs with arbitrary length. Such indexes cannot be
         used for lookups.
       */
-      //// psergey-merge: using_unique_constraint=1;
       share->uniques= 1;
     }
     null_pack_length-=hidden_null_pack_length;



More information about the commits mailing list