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
74a332d5
Commit
74a332d5
authored
Apr 09, 2009
by
He Zhenxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post fix compiling problem after push BUG#37145 to 5.0-bugteam
parent
83d710e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
client/mysqltest.c
client/mysqltest.c
+4
-5
No files found.
client/mysqltest.c
View file @
74a332d5
...
@@ -4087,17 +4087,16 @@ int select_connection_name(const char *name)
...
@@ -4087,17 +4087,16 @@ int select_connection_name(const char *name)
int
select_connection
(
struct
st_command
*
command
)
int
select_connection
(
struct
st_command
*
command
)
{
{
char
*
name
;
char
*
p
=
command
->
first_argument
;
char
*
p
=
command
->
first_argument
;
static
DYNAMIC_STRING
ds_connection
;
const
struct
command_arg
connection_args
[]
=
{
{
"connection_name"
,
ARG_STRING
,
TRUE
,
&
ds_connection
,
"Name of the connection that we switch to."
}
};
DBUG_ENTER
(
"select_connection"
);
DBUG_ENTER
(
"select_connection"
);
if
(
!*
p
)
if
(
!*
p
)
die
(
"Missing connection name in connect"
);
die
(
"Missing connection name in connect"
);
static
DYNAMIC_STRING
ds_connection
;
const
struct
command_arg
connection_args
[]
=
{
{
"connection_name"
,
ARG_STRING
,
TRUE
,
&
ds_connection
,
"Name of the connection that we switch to."
}
};
check_command_args
(
command
,
command
->
first_argument
,
connection_args
,
check_command_args
(
command
,
command
->
first_argument
,
connection_args
,
sizeof
(
connection_args
)
/
sizeof
(
struct
command_arg
),
sizeof
(
connection_args
)
/
sizeof
(
struct
command_arg
),
','
);
','
);
...
...
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