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
3308a7f2
Commit
3308a7f2
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
1881ee2d
Changes
1
Hide 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 @
3308a7f2
...
...
@@ -4087,17 +4087,16 @@ int select_connection_name(const char *name)
int
select_connection
(
struct
st_command
*
command
)
{
char
*
name
;
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"
);
if
(
!*
p
)
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
,
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