[Commits] Rev 2875: few comment cleanups in http://bazaar.launchpad.net/~maria-captains/maria/5.3/

serg at askmonty.org serg at askmonty.org
Thu Jan 13 16:09:35 EET 2011


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

------------------------------------------------------------
revno: 2875
revision-id: sergii at pisem.net-20110113140931-56e9x0463dpc2l8s
parent: igor at askmonty.org-20101230021403-ly4ku1yq675l5d6b
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.3-monty
timestamp: Thu 2011-01-13 15:09:31 +0100
message:
  few comment cleanups
-------------- 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-13 14:09:31 +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	2010-11-23 22:08:48 +0000
+++ b/sql/opt_subselect.cc	2011-01-13 14:09:31 +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	2010-12-27 22:22:05 +0000
+++ b/sql/sql_select.cc	2011-01-13 14:09:31 +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",
@@ -12000,7 +11994,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
@@ -12101,7 +12095,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