summaryrefslogtreecommitdiff
path: root/storage/ndb/tools/desc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/ndb/tools/desc.cpp')
-rw-r--r--storage/ndb/tools/desc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/ndb/tools/desc.cpp b/storage/ndb/tools/desc.cpp
index 831005139de..f31b4f6ae1b 100644
--- a/storage/ndb/tools/desc.cpp
+++ b/storage/ndb/tools/desc.cpp
@@ -39,16 +39,16 @@ static struct my_option my_long_options[] =
{
NDB_STD_OPTS("ndb_desc"),
{ "database", 'd', "Name of database table is in",
- (uchar**) &_dbname, (uchar**) &_dbname, 0,
+ &_dbname, &_dbname, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
{ "unqualified", 'u', "Use unqualified table names",
- (uchar**) &_unqualified, (uchar**) &_unqualified, 0,
+ &_unqualified, &_unqualified, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0 },
{ "extra-partition-info", 'p', "Print more info per partition",
- (uchar**) &_partinfo, (uchar**) &_partinfo, 0,
+ &_partinfo, &_partinfo, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0 },
{ "retries", 'r', "Retry every second for # retries",
- (uchar**) &_retries, (uchar**) &_retries, 0,
+ &_retries, &_retries, 0,
GET_INT, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
};