Commit 563da78d authored by Sergei Golubchik's avatar Sergei Golubchik

Removed some old comments.

mysys/my_handler.c:
  Fixed typo
parent ff7f5879
......@@ -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) ==
......
......@@ -2741,9 +2741,6 @@ TABLE *create_duplicate_weedout_tmp_table(THD *thd,
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
......
......@@ -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_PARAM *param,List<Item> &fields,
}
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_PARAM *param,List<Item> &fields,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment