1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

don't close binlog in the destructor - use explictit MYSQL_LOG::cleanup for this

This commit is contained in:
serg@serg.mylan
2005-03-09 12:29:51 +01:00
parent 0aec332ba3
commit 1e09c15a8b
5 changed files with 15 additions and 14 deletions

View File

@@ -236,7 +236,11 @@ class MYSQL_LOG: public TC_LOG
public:
MYSQL_LOG();
~MYSQL_LOG();
/*
note that there's no destructor ~MYSQL_LOG() !
The reason is that we don't want it to be automatically called
on exit() - but only during the correct shutdown process
*/
int open(const char *opt_name);
void close();