summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <kostja@dipika.(none)>2008-01-16 16:44:07 +0300
committerunknown <kostja@dipika.(none)>2008-01-16 16:44:07 +0300
commitbab13c892d75f704cde64df7252620f4680b3722 (patch)
tree1b7b99adf0aa6c64ca21f8e64cb07f839cf15170 /sql/sql_insert.cc
parent7e93d048b714c46aeffcdfaaaa703de34a9b1805 (diff)
downloadmariadb-git-bab13c892d75f704cde64df7252620f4680b3722.tar.gz
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).
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 1dd915fb9b6..376c9f1beb4 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -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;
}