From 3d0497297422d7305e24874d084b9d9fd4677154 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 20 Jun 2006 13:24:30 -0400 Subject: 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 --- sql/unireg.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/unireg.cc') 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 */ -- cgit v1.2.1