A minor cleanup.

sql/sql_insert.cc:
  Remove a redundant call to my_error() -- in case of out of memory, the error
  is reported already by operator new (Delayed_inserts inherits from ilink).
This commit is contained in:
unknown 2008-01-16 16:44:07 +03:00
parent 7e93d048b7
commit bab13c892d

View File

@ -1862,7 +1862,6 @@ bool delayed_get_table(THD *thd, TABLE_LIST *table_list)
{
if (!(di= new Delayed_insert()))
{
my_error(ER_OUTOFMEMORY,MYF(0),sizeof(Delayed_insert));
thd->fatal_error();
goto end_create;
}