Added Unique class to be used for duplicate removal in multi-table delete.

mysys/ptr_cmp.c:
  Removed old comments
pstack/bucomm.c:
  Change to use mkstemp.
sql/Makefile.am:
  Added Unique class
sql/filesort.cc:
  Changes to let the Unique class use the old filesort code.
sql/sql_class.h:
  Added Unique class
sql/sql_handler.cc:
  Removed warning.
sql/sql_select.cc:
  Cleaned up typo.
This commit is contained in:
unknown 2001-05-23 23:47:08 +03:00
commit a542f858bf
9 changed files with 308 additions and 69 deletions

View file

@ -3928,8 +3928,8 @@ bool create_myisam_from_heap(TABLE *table, TMP_TABLE_PARAM *param, int error,
table->file->rnd_init();
if (table->no_rows)
{
new_table->file->extra(HA_EXTRA_NO_ROWS);
new_table->no_rows=1;
new_table.file->extra(HA_EXTRA_NO_ROWS);
new_table.no_rows=1;
}
/* copy all old rows */