summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authormats@kindahl-laptop.dnsalias.net <>2007-08-16 08:52:50 +0200
committermats@kindahl-laptop.dnsalias.net <>2007-08-16 08:52:50 +0200
commit1fc1bd7f5387934b3cee706914ed1ba862ef543f (patch)
tree5b834668a43070a4ce118cd314f79d229abc5a76 /sql/repl_failsafe.cc
parent9c4ef25c55861b403dbc964b32a4297f03c8ba66 (diff)
downloadmariadb-git-1fc1bd7f5387934b3cee706914ed1ba862ef543f.tar.gz
Renaming MASTER_INFO to Master_info in order to follow the coding
standards (and help Doxygen generating good documentation).
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 8bab1ff1ca3..834d87532af 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -492,7 +492,7 @@ bool show_new_master(THD* thd)
0 success
*/
-int update_slave_list(MYSQL* mysql, MASTER_INFO* mi)
+int update_slave_list(MYSQL* mysql, Master_info* mi)
{
MYSQL_RES* res=0;
MYSQL_ROW row;
@@ -679,7 +679,7 @@ bool show_slave_hosts(THD* thd)
}
-int connect_to_master(THD *thd, MYSQL* mysql, MASTER_INFO* mi)
+int connect_to_master(THD *thd, MYSQL* mysql, Master_info* mi)
{
DBUG_ENTER("connect_to_master");
@@ -728,7 +728,7 @@ static inline void cleanup_mysql_results(MYSQL_RES* db_res,
static int fetch_db_tables(THD *thd, MYSQL *mysql, const char *db,
- MYSQL_RES *table_res, MASTER_INFO *mi)
+ MYSQL_RES *table_res, Master_info *mi)
{
MYSQL_ROW row;
for (row = mysql_fetch_row(table_res); row;