summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-15 12:53:27 +0200
committerunknown <monty@mysql.com>2004-03-15 12:53:27 +0200
commit67108bdfa781a278aee92f1a6118116931b9e10f (patch)
treeaedea5470f7681cfb53ee4f2a9bda9dbf2859aaa /sql/sql_repl.cc
parentad73b5ac5b5b71fc5370d19a971c260fc0bd42c1 (diff)
downloadmariadb-git-67108bdfa781a278aee92f1a6118116931b9e10f.tar.gz
Optimizations
mysql-test/r/create.result: Changed ERROR -> NOTE (for enum/set) sql/lock.cc: Removed not needed test (table_list->db is always set) sql/sql_repl.cc: Removed not needed test sql/sql_table.cc: ERROR -> NOTE Removed not needed test strings/strtod.c: Portabilty fix. (DBL_MAX *10 is not safe)
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 8a5a9564d3e..32c5f0bfdab 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -662,8 +662,6 @@ err:
int start_slave(THD* thd , MASTER_INFO* mi, bool net_report)
{
int slave_errno= 0;
- if (!thd)
- thd = current_thd;
int thread_mask;
DBUG_ENTER("start_slave");