summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@sun.com>2009-07-24 16:13:31 +0400
committerAlexey Kopytov <Alexey.Kopytov@sun.com>2009-07-24 16:13:31 +0400
commit05e6e0aae0d847bf5fae681fb6ed782a0a26dc16 (patch)
tree86d97959512d0881cffc9495bb90089bbbc21b54 /sql
parentfeec11066fdeb4e9fccc41a0bb210f7a7d79776e (diff)
parentdf9eac9efae37fe4977975e13b6856ddc177863a (diff)
downloadmariadb-git-05e6e0aae0d847bf5fae681fb6ed782a0a26dc16.tar.gz
Automerge.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_select.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 60f4880fe70..0a5706ee989 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -10286,6 +10286,11 @@ bool create_myisam_from_heap(THD *thd, TABLE *table, TMP_TABLE_PARAM *param,
if (table->s->db_type != DB_TYPE_HEAP || 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->is_fatal_error= 1;
table->file->print_error(error,MYF(0));
DBUG_RETURN(1);
}