summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <pem@mysql.telia.com>2003-09-24 15:26:20 +0200
committerunknown <pem@mysql.telia.com>2003-09-24 15:26:20 +0200
commit03042c7db4be039b0088de24bd5b7b50f76c91b5 (patch)
treefdea976683e3ed29968154712c74254ba5b0aa07 /sql/sql_repl.cc
parentcd8508d3716e78c06eea3585641ff2527ad463cb (diff)
downloadmariadb-git-03042c7db4be039b0088de24bd5b7b50f76c91b5.tar.gz
Post-merge fixes.
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 59a616fc77c..2c79c1dbaf9 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -697,22 +697,22 @@ int start_slave(THD* thd , MASTER_INFO* mi, bool net_report)
{
pthread_mutex_lock(&mi->rli.data_lock);
- if (thd->lex.mi.pos)
+ if (thd->lex->mi.pos)
{
mi->rli.until_condition= RELAY_LOG_INFO::UNTIL_MASTER_POS;
- mi->rli.until_log_pos= thd->lex.mi.pos;
+ mi->rli.until_log_pos= thd->lex->mi.pos;
/*
We don't check thd->lex.mi.log_file_name for NULL here
since it is checked in sql_yacc.yy
*/
- strmake(mi->rli.until_log_name, thd->lex.mi.log_file_name,
+ strmake(mi->rli.until_log_name, thd->lex->mi.log_file_name,
sizeof(mi->rli.until_log_name)-1);
}
- else if (thd->lex.mi.relay_log_pos)
+ else if (thd->lex->mi.relay_log_pos)
{
mi->rli.until_condition= RELAY_LOG_INFO::UNTIL_RELAY_POS;
- mi->rli.until_log_pos= thd->lex.mi.relay_log_pos;
- strmake(mi->rli.until_log_name, thd->lex.mi.relay_log_name,
+ mi->rli.until_log_pos= thd->lex->mi.relay_log_pos;
+ strmake(mi->rli.until_log_name, thd->lex->mi.relay_log_name,
sizeof(mi->rli.until_log_name)-1);
}
else
@@ -750,7 +750,7 @@ int start_slave(THD* thd , MASTER_INFO* mi, bool net_report)
pthread_mutex_unlock(&mi->rli.data_lock);
}
- else if (thd->lex.mi.pos || thd->lex.mi.relay_log_pos)
+ else if (thd->lex->mi.pos || thd->lex->mi.relay_log_pos)
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_NOTE, ER_UNTIL_COND_IGNORED,
ER(ER_UNTIL_COND_IGNORED));