summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <antony@ltantony.rdg.cyberkinetica.homeunix.net>2004-09-22 11:28:37 +0100
committerunknown <antony@ltantony.rdg.cyberkinetica.homeunix.net>2004-09-22 11:28:37 +0100
commit9427b26e822690a903dfae38c93483e87a115d75 (patch)
tree5302c537369588fbc0652a56633f3fdc55a406c9
parent799505216ff2fb29a48d7a609f8b392c8c6bb87c (diff)
downloadmariadb-git-9427b26e822690a903dfae38c93483e87a115d75.tar.gz
Bug#5655 - mysqldump fields-escaped-by behaviour
Fix initialization client/mysqldump.c: Bug#5655 - mysqldump fields-escaped-by behaviour Fix for parameter
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 6dad8182b87..49822f0bee0 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -150,7 +150,7 @@ static struct my_option my_long_options[] =
"Fields in the i.file are opt. enclosed by ...", (gptr*) &opt_enclosed,
(gptr*) &opt_enclosed, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0 ,0, 0},
{"fields-escaped-by", OPT_ESC, "Fields in the i.file are escaped by ...",
- (gptr*) &escaped, (gptr*) &escaped, 0, GET_STR, NO_ARG, 0, 0, 0, 0, 0, 0},
+ (gptr*) &escaped, (gptr*) &escaped, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"first-slave", 'x', "Locks all tables across all databases.",
(gptr*) &opt_first_slave, (gptr*) &opt_first_slave, 0, GET_BOOL, NO_ARG,
0, 0, 0, 0, 0, 0},