summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/repl_failsafe.cc2
-rw-r--r--sql/slave.cc32
-rw-r--r--sql/sql_repl.cc4
3 files changed, 19 insertions, 19 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 776262be500..0d2da91e015 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -254,7 +254,7 @@ static int find_target_pos(LEX_MASTER_INFO *mi, IO_CACHE *log, char *errmsg)
it is reworked. Event's log_pos used to be preserved through
log-slave-updates to make code in repl_failsafe.cc work (this
function, SHOW NEW MASTER); but on the other side it caused unexpected
- values in Exec_master_log_pos in A->B->C replication setup,
+ values in Exec_Master_Log_Pos in A->B->C replication setup,
synchronization problems in master_pos_wait(), ... So we
(Dmitri & Guilhem) removed it.
diff --git a/sql/slave.cc b/sql/slave.cc
index 561b32b668c..329324efa3d 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1965,7 +1965,7 @@ int show_master_info(THD* thd, MASTER_INFO* mi)
sizeof(mi->user)));
field_list.push_back(new Item_return_int("Master_Port", 7,
MYSQL_TYPE_LONG));
- field_list.push_back(new Item_return_int("Connect_retry", 10,
+ field_list.push_back(new Item_return_int("Connect_Retry", 10,
MYSQL_TYPE_LONG));
field_list.push_back(new Item_empty_string("Master_Log_File",
FN_REFLEN));
@@ -1979,24 +1979,24 @@ int show_master_info(THD* thd, MASTER_INFO* mi)
FN_REFLEN));
field_list.push_back(new Item_empty_string("Slave_IO_Running", 3));
field_list.push_back(new Item_empty_string("Slave_SQL_Running", 3));
- field_list.push_back(new Item_empty_string("Replicate_do_db", 20));
- field_list.push_back(new Item_empty_string("Replicate_ignore_db", 20));
- field_list.push_back(new Item_empty_string("Replicate_do_table", 20));
- field_list.push_back(new Item_empty_string("Replicate_ignore_table", 23));
- field_list.push_back(new Item_empty_string("Replicate_wild_do_table", 24));
- field_list.push_back(new Item_empty_string("Replicate_wild_ignore_table",
+ field_list.push_back(new Item_empty_string("Replicate_Do_DB", 20));
+ field_list.push_back(new Item_empty_string("Replicate_Ignore_DB", 20));
+ field_list.push_back(new Item_empty_string("Replicate_Do_Table", 20));
+ field_list.push_back(new Item_empty_string("Replicate_Ignore_Table", 23));
+ field_list.push_back(new Item_empty_string("Replicate_Wild_Do_Table", 24));
+ field_list.push_back(new Item_empty_string("Replicate_Wild_Ignore_Table",
28));
- field_list.push_back(new Item_return_int("Last_errno", 4, MYSQL_TYPE_LONG));
- field_list.push_back(new Item_empty_string("Last_error", 20));
- field_list.push_back(new Item_return_int("Skip_counter", 10,
+ field_list.push_back(new Item_return_int("Last_Errno", 4, MYSQL_TYPE_LONG));
+ field_list.push_back(new Item_empty_string("Last_Error", 20));
+ field_list.push_back(new Item_return_int("Skip_Counter", 10,
MYSQL_TYPE_LONG));
- field_list.push_back(new Item_return_int("Exec_master_log_pos", 10,
+ field_list.push_back(new Item_return_int("Exec_Master_Log_Pos", 10,
MYSQL_TYPE_LONGLONG));
- field_list.push_back(new Item_return_int("Relay_log_space", 10,
+ field_list.push_back(new Item_return_int("Relay_Log_Space", 10,
MYSQL_TYPE_LONGLONG));
- field_list.push_back(new Item_empty_string("Until_condition", 6));
+ field_list.push_back(new Item_empty_string("Until_Condition", 6));
field_list.push_back(new Item_empty_string("Until_Log_File", FN_REFLEN));
- field_list.push_back(new Item_return_int("Until_Log_pos", 10,
+ field_list.push_back(new Item_return_int("Until_Log_Pos", 10,
MYSQL_TYPE_LONGLONG));
field_list.push_back(new Item_empty_string("Master_SSL_Allowed", 7));
field_list.push_back(new Item_empty_string("Master_SSL_CA_File",
@@ -2009,7 +2009,7 @@ int show_master_info(THD* thd, MASTER_INFO* mi)
sizeof(mi->ssl_cipher)));
field_list.push_back(new Item_empty_string("Master_SSL_Key",
sizeof(mi->ssl_key)));
- field_list.push_back(new Item_return_int("Seconds_behind_master", 10,
+ field_list.push_back(new Item_return_int("Seconds_Behind_Master", 10,
MYSQL_TYPE_LONGLONG));
if (protocol->send_fields(&field_list, 1))
@@ -2362,7 +2362,7 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type)
thd->options = ((opt_log_slave_updates) ? OPTION_BIN_LOG:0) |
OPTION_AUTO_IS_NULL;
/*
- It's nonsense to constraint the slave threads with max_join_size; if a
+ It's nonsense to constrain the slave threads with max_join_size; if a
query succeeded on master, we HAVE to execute it.
*/
thd->variables.max_join_size= HA_POS_ERROR;
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index a3c9396db11..c30409fd0cb 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -1293,8 +1293,8 @@ int show_binlog_info(THD* thd)
field_list.push_back(new Item_empty_string("File", FN_REFLEN));
field_list.push_back(new Item_return_int("Position",20,
MYSQL_TYPE_LONGLONG));
- field_list.push_back(new Item_empty_string("Binlog_do_db",255));
- field_list.push_back(new Item_empty_string("Binlog_ignore_db",255));
+ field_list.push_back(new Item_empty_string("Binlog_Do_DB",255));
+ field_list.push_back(new Item_empty_string("Binlog_Ignore_DB",255));
if (protocol->send_fields(&field_list, 1))
DBUG_RETURN(-1);