summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <kaa@polly.(none)>2007-11-19 16:14:05 +0300
committerunknown <kaa@polly.(none)>2007-11-19 16:14:05 +0300
commitac0612f5599a8a0038dcf4031a85e92b67bac1d0 (patch)
tree96e04de57034881c6febde7a286f77ac34ef7370 /client
parentf978c7cd8644bd29765594532a7f247e46bd5f7f (diff)
parent1f7678fe52ae199b87602bea5f35dd3e8e4bc04e (diff)
downloadmariadb-git-ac0612f5599a8a0038dcf4031a85e92b67bac1d0.tar.gz
Merge polly.(none):/home/kaa/src/opt/bug32376/my50-bug26215
into polly.(none):/home/kaa/src/opt/mysql-5.0-opt client/mysql.cc: Auto merged
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 76ed10d9481..965f70fcc8d 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -595,6 +595,10 @@ static struct my_option my_long_options[] =
{"default-character-set", OPT_DEFAULT_CHARSET,
"Set the default character set.", (gptr*) &default_charset,
(gptr*) &default_charset, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
+ {"comments", 'c', "Preserve comments. Send comments to the server."
+ " The default is --skip-comments (discard comments), enable with --comments",
+ (gptr*) &preserve_comments, (gptr*) &preserve_comments,
+ 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"compress", 'C', "Use compression in server/client protocol.",
(gptr*) &opt_compress, (gptr*) &opt_compress, 0, GET_BOOL, NO_ARG, 0, 0, 0,
0, 0, 0},
@@ -760,10 +764,6 @@ static struct my_option my_long_options[] =
{"show-warnings", OPT_SHOW_WARNINGS, "Show warnings after every statement.",
(gptr*) &show_warnings, (gptr*) &show_warnings, 0, GET_BOOL, NO_ARG,
0, 0, 0, 0, 0, 0},
- {"comments", 'c', "Preserve comments. Send comments to the server."
- " Comments are discarded by default, enable with --enable-comments",
- (gptr*) &preserve_comments, (gptr*) &preserve_comments,
- 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
};