Merge mysql.com:/opt/local/work/mysql-5.0-8568

into  mysql.com:/opt/local/work/mysql-5.1-new
This commit is contained in:
unknown 2005-11-19 19:26:22 +03:00
commit ca03572495

View file

@ -661,11 +661,10 @@ Materialized_cursor::~Materialized_cursor()
bool Select_materialize::send_fields(List<Item> &list, uint flags)
{
bool rc;
DBUG_ASSERT(table == 0);
if (create_result_table(unit->thd, unit->get_unit_column_types(),
FALSE, thd->options | TMP_TABLE_ALL_COLUMNS, ""))
return TRUE;
return rc;
return FALSE;
}