1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

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

mysql-test/r/fulltext.result:
  new test, duplicate test removed
mysql-test/t/fulltext.test:
  new test, duplicate test removed
sql/slave.cc:
  close relay log explicitly
This commit is contained in:
unknown
2005-03-09 12:29:51 +01:00
parent b7943b7aee
commit a0f63f1b81
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();