summaryrefslogtreecommitdiff
path: root/sql/semisync_slave.cc
diff options
context:
space:
mode:
authorAndrei Elkin <andrei.elkin@mariadb.com>2017-11-27 21:06:17 +0200
committerMonty <monty@mariadb.org>2017-12-18 13:43:38 +0200
commit529120e1cb5ca2dc2192b1e68b76538e0d1db145 (patch)
tree733dc1f70ceb0f0b54f90d6b084c284c96afd84b /sql/semisync_slave.cc
parentf279d3c43aa7536b0f9bf46df8f4a3ef02918be0 (diff)
downloadmariadb-git-529120e1cb5ca2dc2192b1e68b76538e0d1db145.tar.gz
MDEV-13073. This patch is a followup of the previous one to convert the trailing underscore identifier to mariadb standard. For identifier representing class private members the underscore is replaced with a `m_` prefix. Otherwise `_` is just removed.bb-10.3-semisync
Diffstat (limited to 'sql/semisync_slave.cc')
-rw-r--r--sql/semisync_slave.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/semisync_slave.cc b/sql/semisync_slave.cc
index fbec0c13b96..2d77ee7b10c 100644
--- a/sql/semisync_slave.cc
+++ b/sql/semisync_slave.cc
@@ -41,7 +41,7 @@ int Repl_semi_sync_slave::init_object()
{
int result= 0;
- init_done_ = true;
+ m_init_done = true;
/* References to the parameter works after set_options(). */
set_slave_enabled(rpl_semi_sync_slave_enabled);
@@ -134,9 +134,9 @@ void Repl_semi_sync_slave::kill_connection(MYSQL *mysql)
char kill_buffer[30];
MYSQL *kill_mysql = NULL;
kill_mysql = mysql_init(kill_mysql);
- mysql_options(kill_mysql, MYSQL_OPT_CONNECT_TIMEOUT, &kill_conn_timeout_);
- mysql_options(kill_mysql, MYSQL_OPT_READ_TIMEOUT, &kill_conn_timeout_);
- mysql_options(kill_mysql, MYSQL_OPT_WRITE_TIMEOUT, &kill_conn_timeout_);
+ mysql_options(kill_mysql, MYSQL_OPT_CONNECT_TIMEOUT, &m_kill_conn_timeout);
+ mysql_options(kill_mysql, MYSQL_OPT_READ_TIMEOUT, &m_kill_conn_timeout);
+ mysql_options(kill_mysql, MYSQL_OPT_WRITE_TIMEOUT, &m_kill_conn_timeout);
bool ret= (!mysql_real_connect(kill_mysql, mysql->host,
mysql->user, mysql->passwd,0, mysql->port, mysql->unix_socket, 0));