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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user