summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-10 17:05:22 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-10 17:05:22 +0200
commit6a7c5b71b0d6b090a489c11190eb47e2b17ba9db (patch)
treed68c39f5f49d18a6b817427dfbf224afd9aa3cec /client
parentd69bca6811a30f267ae045db6b53541aef4f3e37 (diff)
downloadmariadb-git-6a7c5b71b0d6b090a489c11190eb47e2b17ba9db.tar.gz
Add OPT_LOG_DIR
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 3d7e082897f..6fcecf7fbef 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -86,7 +86,7 @@ enum {
OPT_SSL_CA, OPT_SSL_CAPATH, OPT_SSL_CIPHER, OPT_PS_PROTOCOL,
OPT_SP_PROTOCOL, OPT_CURSOR_PROTOCOL, OPT_VIEW_PROTOCOL,
OPT_SSL_VERIFY_SERVER_CERT, OPT_MAX_CONNECT_RETRIES,
- OPT_MARK_PROGRESS, OPT_CHARSETS_DIR
+ OPT_MARK_PROGRESS, OPT_CHARSETS_DIR, OPT_LOG_DIR
};
static int record= 0, opt_sleep= -1;
@@ -4245,7 +4245,7 @@ static struct my_option my_long_options[] =
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"include", 'i', "Include SQL before each test case.", (gptr*) &opt_include,
(gptr*) &opt_include, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
- {"logdir", 0, "Directory for log files", (gptr*) &opt_logdir,
+ {"logdir", OPT_LOG_DIR, "Directory for log files", (gptr*) &opt_logdir,
(gptr*) &opt_logdir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"mark-progress", OPT_MARK_PROGRESS,
"Write linenumber and elapsed time to <testname>.progress ",