summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-10-10 15:36:35 -0600
committersasha@mysql.sashanet.com <>2001-10-10 15:36:35 -0600
commit9b163ef5aec4db3d8e2830b560857c40a0370c15 (patch)
tree2143fd43b5532ceec7d6fb7e900d5119ca3a61ec /sql/repl_failsafe.cc
parentaf82bc245b2ce336823457d783b3e838fa70051e (diff)
downloadmariadb-git-9b163ef5aec4db3d8e2830b560857c40a0370c15.tar.gz
got the last changeset to compile/run
mysqltest can run without connecting to the manager for tests that do not require manager operations
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 541c53ea24a..bdd63bd9a10 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -23,9 +23,9 @@ RPL_STATUS rpl_status=RPL_NULL;
pthread_mutex_t LOCK_rpl_status;
pthread_cond_t COND_rpl_status;
-const char *rpl_role_type[] = {"","MASTER","SLAVE",NullS};
-TYPELIB rpl_role_typelib = {array_elements(rpl_role_type)-4,"",
- rpl_role_type+1};
+const char *rpl_role_type[] = {"MASTER","SLAVE",NullS};
+TYPELIB rpl_role_typelib = {array_elements(rpl_role_type)-1,"",
+ rpl_role_type};
const char* rpl_status_type[] = {"AUTH_MASTER","ACTIVE_SLAVE","IDLE_SLAVE",
"LOST_SOLDIER","TROOP_SOLDIER",