1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

switched to new syntax (TYPE->ENGINE)

check of memory allocation operation was added
This commit is contained in:
bell@sanja.is.com.ua
2004-01-17 13:00:46 +02:00
parent 4adf62eab3
commit c04fd7b177
3 changed files with 6 additions and 5 deletions

View File

@ -1586,7 +1586,8 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
}
else
{
join= new JOIN(thd, fields, select_options, result);
if (!(join= new JOIN(thd, fields, select_options, result)))
DBUG_RETURN(-1);
thd->proc_info="init";
thd->used_tables=0; // Updated by setup_fields
if (join->prepare(rref_pointer_array, tables, wild_num,