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
commite18db6152fe3b25c316e6ab5d1459c478a57e579 (patch)
treeaedea5470f7681cfb53ee4f2a9bda9dbf2859aaa /sql/sql_repl.cc
parentcdf0a459f4cd8fb07a4aae09e43ab9273eb56872 (diff)
downloadmariadb-git-e18db6152fe3b25c316e6ab5d1459c478a57e579.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");