1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

lot's of small changes

mysql-test/r/olap.result:
  some small changes
sql/sql_delete.cc:
  A dirty fix for wrong ref_length returned ...
sql/sql_olap.cc:
  NULL instead of ALL
sql/sql_select.cc:
  This seems like a better solution to me ...
  At least after this a DISTINCT crash bug happens much later.
This commit is contained in:
unknown
2002-07-29 17:05:41 +03:00
parent 8becb4cd11
commit e35a73d1d9
4 changed files with 62 additions and 59 deletions

View File

@@ -4037,9 +4037,12 @@ static bool create_myisam_tmp_table(TABLE *table,TMP_TABLE_PARAM *param,
}
MI_CREATE_INFO create_info;
bzero((char*) &create_info,sizeof(create_info));
if ((options & (OPTION_BIG_TABLES | SELECT_SMALL_RESULT)) ==
OPTION_BIG_TABLES)
if ((options & (OPTION_BIG_TABLES | SELECT_SMALL_RESULT)) !=
SELECT_SMALL_RESULT)
{
create_info.data_file_length= ~(ulonglong) 0;
create_info.max_rows= ~(ulonglong) 0;
}
if ((error=mi_create(table->real_name,table->keys,&keydef,
(uint) (param->recinfo-param->start_recinfo),