summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorunknown <mikael@dator5.(none)>2006-06-20 13:24:30 -0400
committerunknown <mikael@dator5.(none)>2006-06-20 13:24:30 -0400
commit7445ac4915a424f9583e4b69503748bc56fb96fc (patch)
tree946216807b296ba903f146798e8d0f7299598756 /sql/unireg.cc
parent6f5c5c3c7a2f862310d8703b42c09e51a3ecf3cf (diff)
downloadmariadb-git-7445ac4915a424f9583e4b69503748bc56fb96fc.tar.gz
BUG#16000: .par file not removed plus errors to error log for normal errors
sql/table.cc: Remove error printouts when error occurs during open frm as part of CREATE/ALTER TABLE sql/unireg.cc: Ensure .par file is removed after error
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index 11aa73bb502..42518e7b9b7 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -339,6 +339,7 @@ int rea_create_table(THD *thd, const char *path,
DBUG_RETURN(0);
err_handler:
+ VOID(file->create_handler_files(path, NULL, CHF_DELETE_FLAG, create_info));
my_delete(frm_name, MYF(0));
DBUG_RETURN(1);
} /* rea_create_table */