summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-03-12 22:03:27 +0100
committerunknown <guilhem@mysql.com>2004-03-12 22:03:27 +0100
commitf1c200f0b71b04d027d178fcca367c74dcbe16dd (patch)
treec1b8da6f83cec48f28ae0f937f8ecfd2fcbe6a1a /client/mysqlbinlog.cc
parent40faaa34740467d4313c124f4e62964f5b5149e9 (diff)
parente05fc023db16e8b6a955311c0e09b08c53223796 (diff)
downloadmariadb-git-f1c200f0b71b04d027d178fcca367c74dcbe16dd.tar.gz
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0 client/mysqlbinlog.cc: Auto merged
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r--client/mysqlbinlog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index 29ee6efbfb0..6c6acb750d3 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -438,9 +438,9 @@ static struct my_option my_long_options[] =
{"user", 'u', "Connect to the remote server as username.",
(gptr*) &user, (gptr*) &user, 0, GET_STR_ALLOC, REQUIRED_ARG, 0, 0, 0, 0,
0, 0},
- {"local-load", 'l', "Prepare files for local load in directory.",
+ {"local-load", 'l', "Prepare local temporary files for LOAD DATA INFILE in the specified directory.",
(gptr*) &dirname_for_local_load, (gptr*) &dirname_for_local_load, 0,
- GET_STR_ALLOC, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ GET_STR_ALLOC, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"version", 'V', "Print version and exit.", 0, 0, 0, GET_NO_ARG, 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}
@@ -947,7 +947,7 @@ int main(int argc, char** argv)
exit(1);
if (dirname_for_local_load)
load_processor.init_by_dir_name(dirname_for_local_load);
- else
+ else /* my_malloc() failed in my_strdup() */
load_processor.init_by_cur_dir();
exit_value= 0;