Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e5281df9
Commit
e5281df9
authored
Dec 22, 2005
by
paul@frost.snake.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqltest.c:
Put options in order. Add #ifdef around --debug for non-debug builds.
parent
29f44a8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
client/mysqltest.c
client/mysqltest.c
+14
-9
No files found.
client/mysqltest.c
View file @
e5281df9
...
@@ -2731,10 +2731,8 @@ int read_query(struct st_query** q_ptr)
...
@@ -2731,10 +2731,8 @@ int read_query(struct st_query** q_ptr)
static
struct
my_option
my_long_options
[]
=
static
struct
my_option
my_long_options
[]
=
{
{
{
"debug"
,
'#'
,
"Output debug log. Often this is 'd:t:o,filename'."
,
{
"help"
,
'?'
,
"Display this help and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
GET_STR
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
,
0
},
{
"database"
,
'D'
,
"Database to use."
,
(
gptr
*
)
&
db
,
(
gptr
*
)
&
db
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"basedir"
,
'b'
,
"Basedir for tests."
,
(
gptr
*
)
&
opt_basedir
,
{
"basedir"
,
'b'
,
"Basedir for tests."
,
(
gptr
*
)
&
opt_basedir
,
(
gptr
*
)
&
opt_basedir
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
(
gptr
*
)
&
opt_basedir
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"big-test"
,
'B'
,
"Define BIG_TEST to 1."
,
(
gptr
*
)
&
opt_big_test
,
{
"big-test"
,
'B'
,
"Define BIG_TEST to 1."
,
(
gptr
*
)
&
opt_big_test
,
...
@@ -2742,13 +2740,17 @@ static struct my_option my_long_options[] =
...
@@ -2742,13 +2740,17 @@ static struct my_option my_long_options[] =
{
"compress"
,
'C'
,
"Use the compressed server/client protocol."
,
{
"compress"
,
'C'
,
"Use the compressed server/client protocol."
,
(
gptr
*
)
&
opt_compress
,
(
gptr
*
)
&
opt_compress
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
(
gptr
*
)
&
opt_compress
,
(
gptr
*
)
&
opt_compress
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
},
{
"help"
,
'?'
,
"Display this help and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
{
"database"
,
'D'
,
"Database to use."
,
(
gptr
*
)
&
db
,
(
gptr
*
)
&
db
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#ifdef DBUG_OFF
{
"debug"
,
'#'
,
"This is a non-debug version. Catch this and exit"
,
0
,
0
,
0
,
GET_DISABLED
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#else
{
"debug"
,
'#'
,
"Output debug log. Often this is 'd:t:o,filename'."
,
0
,
0
,
0
,
GET_STR
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#endif
{
"host"
,
'h'
,
"Connect to host."
,
(
gptr
*
)
&
host
,
(
gptr
*
)
&
host
,
0
,
{
"host"
,
'h'
,
"Connect to host."
,
(
gptr
*
)
&
host
,
(
gptr
*
)
&
host
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"manager-user"
,
OPT_MANAGER_USER
,
"Undocumented: Used for debugging."
,
(
gptr
*
)
&
manager_user
,
(
gptr
*
)
&
manager_user
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"manager-host"
,
OPT_MANAGER_HOST
,
"Undocumented: Used for debugging."
,
{
"manager-host"
,
OPT_MANAGER_HOST
,
"Undocumented: Used for debugging."
,
(
gptr
*
)
&
manager_host
,
(
gptr
*
)
&
manager_host
,
0
,
GET_STR
,
REQUIRED_ARG
,
(
gptr
*
)
&
manager_host
,
(
gptr
*
)
&
manager_host
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
,
0
},
...
@@ -2757,6 +2759,9 @@ static struct my_option my_long_options[] =
...
@@ -2757,6 +2759,9 @@ static struct my_option my_long_options[] =
{
"manager-port"
,
OPT_MANAGER_PORT
,
"Undocumented: Used for debugging."
,
{
"manager-port"
,
OPT_MANAGER_PORT
,
"Undocumented: Used for debugging."
,
(
gptr
*
)
&
manager_port
,
(
gptr
*
)
&
manager_port
,
0
,
GET_INT
,
REQUIRED_ARG
,
(
gptr
*
)
&
manager_port
,
(
gptr
*
)
&
manager_port
,
0
,
GET_INT
,
REQUIRED_ARG
,
MYSQL_MANAGER_PORT
,
0
,
0
,
0
,
0
,
0
},
MYSQL_MANAGER_PORT
,
0
,
0
,
0
,
0
,
0
},
{
"manager-user"
,
OPT_MANAGER_USER
,
"Undocumented: Used for debugging."
,
(
gptr
*
)
&
manager_user
,
(
gptr
*
)
&
manager_user
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"manager-wait-timeout"
,
OPT_MANAGER_WAIT_TIMEOUT
,
{
"manager-wait-timeout"
,
OPT_MANAGER_WAIT_TIMEOUT
,
"Undocumented: Used for debugging."
,
(
gptr
*
)
&
manager_wait_timeout
,
"Undocumented: Used for debugging."
,
(
gptr
*
)
&
manager_wait_timeout
,
(
gptr
*
)
&
manager_wait_timeout
,
0
,
GET_INT
,
REQUIRED_ARG
,
3
,
0
,
0
,
0
,
0
,
0
},
(
gptr
*
)
&
manager_wait_timeout
,
0
,
GET_INT
,
REQUIRED_ARG
,
3
,
0
,
0
,
0
,
0
,
0
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment