diff options
author | Luis Soares <luis.soares@sun.com> | 2009-11-04 12:28:20 +0000 |
---|---|---|
committer | Luis Soares <luis.soares@sun.com> | 2009-11-04 12:28:20 +0000 |
commit | 6e068a9cf8cc9943f2ef5f3a71bba3ee522349a1 (patch) | |
tree | b80f9a53099f9ca553f3731d7db011c4c110239e /sql/sql_repl.cc | |
parent | ea84da107a8d8f6b061d00dcf76c3369f8a96868 (diff) | |
download | mariadb-git-6e068a9cf8cc9943f2ef5f3a71bba3ee522349a1.tar.gz |
BUG#48048: Deprecated constructs need removal in Betony
NOTE: Backport of:
bzr log -r revid:sp1r-serg@sergbook.mysql.com-20070505200319-38337
------------------------------------------------------------
revno: 2469.263.4
committer: serg@sergbook.mysql.com
timestamp: Sat 2007-05-05 13:03:19 -0700
message:
Removing deprecated features:
--master-XXX command-line options
log_bin_trust_routine_creators
table_type
BACKUP TABLE ...
RESTORE TABLE ...
SHOW PLUGIN
LOAD TABLE ... FROM MASTER
LOAD DATA FROM MASTER
SHOW INNODB STATUS
SHOW MUTEX STATUS
SHOW TABLE TYPES
... TIMESTAMP(N)
... TYPE=engine
RESET SLAVE don't reset connection parameters anymore
LOAD DATA: check opt_secure_file_priv before access(filename)
improved WARN_DEPRECATED macro
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index 9e4ef364408..c0cd016d894 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -1249,14 +1249,8 @@ int reset_slave(THD *thd, Master_info* mi) goto err; } - /* - Clear master's log coordinates and reset host/user/etc to the values - specified in mysqld's options (only for good display of SHOW SLAVE STATUS; - next init_master_info() (in start_slave() for example) would have set them - the same way; but here this is for the case where the user does SHOW SLAVE - STATUS; before doing START SLAVE; - */ - init_master_info_with_options(mi); + /* Clear master's log coordinates */ + init_master_log_pos(mi); /* Reset errors (the idea is that we forget about the old master). |