summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2003-11-28 01:54:34 +0300
committerunknown <konstantin@mysql.com>2003-11-28 01:54:34 +0300
commitb5907ec1925c2c8f557c3159071851edd3bc0c16 (patch)
treef7627a3267df7ece53fb74f53dd881166852e980 /libmysql
parenta71285a7b3bf7de924b210122a0ecdcfed9cb779 (diff)
downloadmariadb-git-b5907ec1925c2c8f557c3159071851edd3bc0c16.tar.gz
cleanup:
no need to set rpl_parse, rpl_probe and rpl_pivot to zero as whole mysql structure is bzeroed in mysql_init(0) few lines before
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 5d809adf36a..d5fe2cddc48 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -2276,8 +2276,6 @@ static MYSQL* spawn_init(MYSQL* parent, const char* host,
else if (parent->options.db)
child->options.db = my_strdup(parent->options.db, MYF(0));
- child->options.rpl_parse = child->options.rpl_probe = child->rpl_pivot = 0;
-
return child;
}