From 1ca422c26b67485c504f6778c4b4b88ad3c76f4d Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 10 May 2010 16:23:08 +0200 Subject: [PATCH] bugfix from mysql-5.1, apparently lost in a merge --- sql/sql_select.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index e3b34126828..4824019312e 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -10986,6 +10986,11 @@ create_internal_tmp_table_from_heap2(THD *thd, TABLE *table, if (table->s->db_type() != heap_hton || error != HA_ERR_RECORD_FILE_FULL) { + /* + We don't want this error to be converted to a warning, e.g. in case of + INSERT IGNORE ... SELECT. + */ + thd->fatal_error(); table->file->print_error(error,MYF(0)); DBUG_RETURN(1); }