summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <kaa@polly.(none)>2007-11-19 15:57:50 +0300
committerunknown <kaa@polly.(none)>2007-11-19 15:57:50 +0300
commit43f41d186737bec56f46773949d9dbdae84cbb86 (patch)
tree3dc5e3493a9c636a62b5fb8b4797383245af36ee /client
parentc30eb25a16c4780a2e90a5c1a7f3c61986373302 (diff)
parent1f7678fe52ae199b87602bea5f35dd3e8e4bc04e (diff)
downloadmariadb-git-43f41d186737bec56f46773949d9dbdae84cbb86.tar.gz
Merge polly.(none):/home/kaa/src/opt/bug32376/my50-bug26215
into polly.(none):/home/kaa/src/opt/bug32376/my51-bug26215 client/mysql.cc: Manual merge.
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 d478ee60b98..3b4f6d98e34 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -605,6 +605,10 @@ static struct my_option my_long_options[] =
{"column-type-info", OPT_COLUMN_TYPES, "Display column type information.",
(uchar**) &column_types_flag, (uchar**) &column_types_flag,
0, GET_BOOL, NO_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",
+ (uchar**) &preserve_comments, (uchar**) &preserve_comments,
+ 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"compress", 'C', "Use compression in server/client protocol.",
(uchar**) &opt_compress, (uchar**) &opt_compress, 0, GET_BOOL, NO_ARG, 0, 0, 0,
0, 0, 0},
@@ -774,10 +778,6 @@ static struct my_option my_long_options[] =
{"show-warnings", OPT_SHOW_WARNINGS, "Show warnings after every statement.",
(uchar**) &show_warnings, (uchar**) &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",
- (uchar**) &preserve_comments, (uchar**) &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}
};