summaryrefslogtreecommitdiff
path: root/sql/discover.cc
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2006-05-30 18:21:03 +0200
committerunknown <serg@sergbook.mysql.com>2006-05-30 18:21:03 +0200
commite05bb63770495b9e5337538b1c98507d2648267a (patch)
tree56ade099a643866e39df6654ecd81656885e643f /sql/discover.cc
parent4eeb61b7e35f882cf8d247e6774a1e877601c1d1 (diff)
downloadmariadb-git-e05bb63770495b9e5337538b1c98507d2648267a.tar.gz
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
Diffstat (limited to 'sql/discover.cc')
-rw-r--r--sql/discover.cc2
1 files changed, 1 insertions, 1 deletions
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 */