From e05bb63770495b9e5337538b1c98507d2648267a Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 30 May 2006 18:21:03 +0200 Subject: sql/Makefile.am: better mysqld dependencies sql/discover.cc: close(-1) bug sql/slave.cc: DBUG_ENTER/RETURN tags ha_archive.cc: double-close bug sql/Makefile.am: better mysqld dependencies sql/discover.cc: close(-1) bug sql/slave.cc: DBUG_ENTER/RETURN tags storage/archive/ha_archive.cc: double-close bug --- sql/discover.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/discover.cc') diff --git a/sql/discover.cc b/sql/discover.cc index 2a3da55f154..938a05ff4a7 100644 --- a/sql/discover.cc +++ b/sql/discover.cc @@ -119,8 +119,8 @@ int writefrm(const char *name, const void *frmdata, uint len) { if (my_write(file,(byte*)frmdata,len,MYF(MY_WME | MY_NABP))) error= 2; + VOID(my_close(file,MYF(0))); } - VOID(my_close(file,MYF(0))); DBUG_RETURN(error); } /* writefrm */ -- cgit v1.2.1