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
91f4cb1c
Commit
91f4cb1c
authored
Jul 13, 2007
by
dkatz@damien-katzs-computer.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge damien-katzs-computer.local:/Users/dkatz/50
into damien-katzs-computer.local:/Users/dkatz/mysql51
parents
276b95a0
0a308745
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
client/mysqltest.c
client/mysqltest.c
+5
-5
No files found.
client/mysqltest.c
View file @
91f4cb1c
...
@@ -3764,13 +3764,13 @@ void do_connect(struct st_command *command)
...
@@ -3764,13 +3764,13 @@ void do_connect(struct st_command *command)
if
(
find_connection_by_name
(
ds_connection_name
.
str
))
if
(
find_connection_by_name
(
ds_connection_name
.
str
))
die
(
"Connection %s already exists"
,
ds_connection_name
.
str
);
die
(
"Connection %s already exists"
,
ds_connection_name
.
str
);
if
(
!
(
con_slot
=
find_connection_by_name
(
"-closed_connection-"
)))
if
(
next_con
!=
connections_end
)
con_slot
=
next_con
;
else
{
{
if
(
next_con
==
connections_end
)
if
(
!
(
con_slot
=
find_connection_by_name
(
"-closed_connection-"
))
)
die
(
"Connection limit exhausted, you can have max %d connections"
,
die
(
"Connection limit exhausted, you can have max %d connections"
,
(
int
)
(
sizeof
(
connections
)
/
sizeof
(
struct
st_connection
)));
(
int
)
(
sizeof
(
connections
)
/
sizeof
(
struct
st_connection
)));
con_slot
=
next_con
;
}
}
if
(
!
mysql_init
(
&
con_slot
->
mysql
))
if
(
!
mysql_init
(
&
con_slot
->
mysql
))
...
...
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