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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b11c033f
Commit
b11c033f
authored
Feb 23, 2006
by
paul@snake-hub.snake.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqltest.c:
Rearrange out of order options in option struct.
parent
f47ed62f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
client/mysqltest.c
client/mysqltest.c
+9
-9
No files found.
client/mysqltest.c
View file @
b11c033f
...
@@ -2819,6 +2819,9 @@ static struct my_option my_long_options[] =
...
@@ -2819,6 +2819,9 @@ 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
},
{
"cursor-protocol"
,
OPT_CURSOR_PROTOCOL
,
"Use cursors for prepared statment"
,
(
gptr
*
)
&
cursor_protocol
,
(
gptr
*
)
&
cursor_protocol
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"database"
,
'D'
,
"Database to use."
,
(
gptr
*
)
&
db
,
(
gptr
*
)
&
db
,
0
,
{
"database"
,
'D'
,
"Database to use."
,
(
gptr
*
)
&
db
,
(
gptr
*
)
&
db
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#ifdef DBUG_OFF
#ifdef DBUG_OFF
...
@@ -2851,15 +2854,6 @@ static struct my_option my_long_options[] =
...
@@ -2851,15 +2854,6 @@ static struct my_option my_long_options[] =
{
"ps-protocol"
,
OPT_PS_PROTOCOL
,
"Use prepared statements protocol for communication"
,
{
"ps-protocol"
,
OPT_PS_PROTOCOL
,
"Use prepared statements protocol for communication"
,
(
gptr
*
)
&
ps_protocol
,
(
gptr
*
)
&
ps_protocol
,
0
,
(
gptr
*
)
&
ps_protocol
,
(
gptr
*
)
&
ps_protocol
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"sp-protocol"
,
OPT_SP_PROTOCOL
,
"Use stored procedures for select"
,
(
gptr
*
)
&
sp_protocol
,
(
gptr
*
)
&
sp_protocol
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"cursor-protocol"
,
OPT_CURSOR_PROTOCOL
,
"Use cursors for prepared statment"
,
(
gptr
*
)
&
cursor_protocol
,
(
gptr
*
)
&
cursor_protocol
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"view-protocol"
,
OPT_VIEW_PROTOCOL
,
"Use views for select"
,
(
gptr
*
)
&
view_protocol
,
(
gptr
*
)
&
view_protocol
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"quiet"
,
's'
,
"Suppress all normal output."
,
(
gptr
*
)
&
silent
,
{
"quiet"
,
's'
,
"Suppress all normal output."
,
(
gptr
*
)
&
silent
,
(
gptr
*
)
&
silent
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
(
gptr
*
)
&
silent
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"record"
,
'r'
,
"Record output of test_file into result file."
,
{
"record"
,
'r'
,
"Record output of test_file into result file."
,
...
@@ -2882,6 +2876,9 @@ static struct my_option my_long_options[] =
...
@@ -2882,6 +2876,9 @@ static struct my_option my_long_options[] =
{
"socket"
,
'S'
,
"Socket file to use for connection."
,
{
"socket"
,
'S'
,
"Socket file to use for connection."
,
(
gptr
*
)
&
unix_sock
,
(
gptr
*
)
&
unix_sock
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
(
gptr
*
)
&
unix_sock
,
(
gptr
*
)
&
unix_sock
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
},
{
"sp-protocol"
,
OPT_SP_PROTOCOL
,
"Use stored procedures for select"
,
(
gptr
*
)
&
sp_protocol
,
(
gptr
*
)
&
sp_protocol
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#include "sslopt-longopts.h"
#include "sslopt-longopts.h"
{
"test-file"
,
'x'
,
"Read test from/in this file (default stdin)."
,
{
"test-file"
,
'x'
,
"Read test from/in this file (default stdin)."
,
0
,
0
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
...
@@ -2895,6 +2892,9 @@ static struct my_option my_long_options[] =
...
@@ -2895,6 +2892,9 @@ static struct my_option my_long_options[] =
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"version"
,
'V'
,
"Output version information and exit."
,
{
"version"
,
'V'
,
"Output version information and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"view-protocol"
,
OPT_VIEW_PROTOCOL
,
"Use views for select"
,
(
gptr
*
)
&
view_protocol
,
(
gptr
*
)
&
view_protocol
,
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
}
{
0
,
0
,
0
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
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