mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 12:45:41 +02:00
Merge bk-internal:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 BitKeeper/etc/ignore: auto-union configure.in: Auto merged dbug/dbug.c: Auto merged include/my_dbug.h: Auto merged include/my_sys.h: Auto merged sql/filesort.cc: Auto merged sql/ha_isam.cc: Auto merged sql/ha_isammrg.cc: Auto merged sql/ha_myisam.cc: Auto merged sql/ha_myisammrg.cc: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
commit
03d82a4652
323 changed files with 10073 additions and 8173 deletions
|
|
@ -284,7 +284,8 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
|
|||
}
|
||||
}
|
||||
if (error)
|
||||
my_error(ER_FILSORT_ABORT,MYF(ME_ERROR+ME_WAITTANG));
|
||||
my_message(ER_FILSORT_ABORT, ER(ER_FILSORT_ABORT),
|
||||
MYF(ME_ERROR+ME_WAITTANG));
|
||||
else
|
||||
statistic_add(thd->status_var.filesort_rows,
|
||||
(ulong) records, &LOCK_status);
|
||||
|
|
@ -707,7 +708,7 @@ static void make_sortkey(register SORTPARAM *param,
|
|||
}
|
||||
case REAL_RESULT:
|
||||
{
|
||||
double value=item->val();
|
||||
double value= item->val_real();
|
||||
if ((maybe_null=item->null_value))
|
||||
{
|
||||
bzero((char*) to,sort_field->length+1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue