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
1137a376
Commit
1137a376
authored
Oct 31, 2005
by
pem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs in client/mysqltest.c which made lots of "connect" commands in tests fail.
parent
81437a72
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
client/mysqltest.c
client/mysqltest.c
+3
-2
No files found.
client/mysqltest.c
View file @
1137a376
...
...
@@ -2183,7 +2183,7 @@ int do_connect(struct st_query *q)
VAR
*
var_port
,
*
var_sock
;
DBUG_ENTER
(
"do_connect"
);
DBUG_PRINT
(
"enter"
,(
"connect: %s"
,
p
));
DBUG_PRINT
(
"enter"
,(
"connect: %s"
,
q
->
first_argument
));
/* Make a copy of query before parsing, safe_get_param will modify */
if
(
!
(
con_buf
=
my_strdup
(
q
->
first_argument
,
MYF
(
MY_WME
))))
...
...
@@ -2257,7 +2257,8 @@ int do_connect(struct st_query *q)
die
(
"Illegal option to connect: %s"
,
con_options
);
con_options
=
str
;
}
q
->
last_argument
=
p
;
/* Note: 'p' is pointing into the copy 'con_buf' */
q
->
last_argument
=
q
->
first_argument
+
(
p
-
con_buf
);
if
(
next_con
==
cons_end
)
die
(
"Connection limit exhausted - increase MAX_CONS in mysqltest.c"
);
...
...
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