summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-09 12:29:51 +0100
committerunknown <serg@serg.mylan>2005-03-09 12:29:51 +0100
commita0f63f1b81bbe1b6312abab035cbf622970023cb (patch)
tree95219d3b710ca7440791ed606fa1dbbec32d170a /sql/sql_class.h
parentb7943b7aee28e468e58436abf856d7f93496e547 (diff)
downloadmariadb-git-a0f63f1b81bbe1b6312abab035cbf622970023cb.tar.gz
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
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index ff30faf1150..67173e972ac 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -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();