diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-08-22 16:13:54 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-08-22 16:13:54 +0200 |
commit | 1fd8150a5b5e3f56aa3c253225929a07ee9a4026 (patch) | |
tree | 6fb814b28d2a0b8227b7a9f835f2b888c2a2596f /sql/log.h | |
parent | 60561ae6133cf40f4fc445e1d6e8f395a20b2573 (diff) | |
parent | 115a2967563d3ac734ce371260098710ba42cdf0 (diff) | |
download | mariadb-git-1fd8150a5b5e3f56aa3c253225929a07ee9a4026.tar.gz |
5.1 merge
increase xtradb verson from 13.0 to 13.01
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sql/log.h b/sql/log.h index 4b32ecfdc02..d20ef2ef491 100644 --- a/sql/log.h +++ b/sql/log.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005, 2010, Oracle and/or its affiliates. + Copyright (c) 2005, 2012, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -130,6 +130,11 @@ extern TC_LOG_DUMMY tc_log_dummy; class Relay_log_info; +/* + Note that we destroy the lock mutex in the desctructor here. + This means that object instances cannot be destroyed/go out of scope, + until we have reset thd->current_linfo to NULL; + */ typedef struct st_log_info { char log_file_name[FN_REFLEN]; @@ -289,8 +294,8 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG int new_file_impl(bool need_lock); public: - MYSQL_LOG::generate_name; - MYSQL_LOG::is_open; + using MYSQL_LOG::generate_name; + using MYSQL_LOG::is_open; /* This is relay log */ bool is_relay_log; |