diff options
author | konstantin@oak.local <> | 2003-12-19 20:52:13 +0300 |
---|---|---|
committer | konstantin@oak.local <> | 2003-12-19 20:52:13 +0300 |
commit | d37da004f6ffb32d170ce4cb9d93ba166de5b6b0 (patch) | |
tree | a4c72a1d62170f1e5637ed34fd09ada369f1c764 /sql/repl_failsafe.cc | |
parent | c49773237d2bb807e10ffb66c321f87a20f1e1c6 (diff) | |
download | mariadb-git-d37da004f6ffb32d170ce4cb9d93ba166de5b6b0.tar.gz |
THD::lex now points to THD::main_lex like in 5.0
All tests pass (client_test included)
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r-- | sql/repl_failsafe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc index 18456af8048..81ea9d9e2ac 100644 --- a/sql/repl_failsafe.cc +++ b/sql/repl_failsafe.cc @@ -441,7 +441,7 @@ int show_new_master(THD* thd) DBUG_ENTER("show_new_master"); List<Item> field_list; char errmsg[SLAVE_ERRMSG_SIZE]; - LEX_MASTER_INFO* lex_mi = &thd->lex.mi; + LEX_MASTER_INFO* lex_mi= &thd->lex->mi; errmsg[0]=0; // Safety if (translate_master(thd, lex_mi, errmsg)) |