diff options
author | kaa@polly.(none) <> | 2007-11-19 16:16:44 +0300 |
---|---|---|
committer | kaa@polly.(none) <> | 2007-11-19 16:16:44 +0300 |
commit | 4cbcdb9b888c834e968ccc954ff13aa2962f75cf (patch) | |
tree | 03e2505eac9d9b6cd0ec2070ffc885eb60b85ec2 /client/mysql.cc | |
parent | be3070ef9359cf2287c20c56ff3b8c06b10d24da (diff) | |
parent | 74bc350bcc7df6bda9b548501037e16ac6715063 (diff) | |
download | mariadb-git-4cbcdb9b888c834e968ccc954ff13aa2962f75cf.tar.gz |
Merge polly.(none):/home/kaa/src/opt/bug32376/my51-bug26215
into polly.(none):/home/kaa/src/opt/mysql-5.1-opt
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 180bc8df848..93f7b336f3d 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}, @@ -779,10 +783,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} }; |