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
836e159f
Commit
836e159f
authored
Oct 24, 2006
by
holyfoot/hf@mysql.com/deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging fix
parent
4d235598
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client/mysqltest.c
client/mysqltest.c
+2
-2
No files found.
client/mysqltest.c
View file @
836e159f
...
@@ -1907,7 +1907,7 @@ int close_connection(struct st_query *q)
...
@@ -1907,7 +1907,7 @@ int close_connection(struct st_query *q)
#ifndef EMBEDDED_LIBRARY
#ifndef EMBEDDED_LIBRARY
if
(
q
->
type
==
Q_DIRTY_CLOSE
)
if
(
q
->
type
==
Q_DIRTY_CLOSE
)
{
{
while
(
con
->
mysql
.
net
.
vio
)
if
(
con
->
mysql
.
net
.
vio
)
{
{
vio_delete
(
con
->
mysql
.
net
.
vio
);
vio_delete
(
con
->
mysql
.
net
.
vio
);
con
->
mysql
.
net
.
vio
=
0
;
con
->
mysql
.
net
.
vio
=
0
;
...
@@ -2908,7 +2908,7 @@ static int run_query_normal(struct connection *cn, struct st_query* q,
...
@@ -2908,7 +2908,7 @@ static int run_query_normal(struct connection *cn, struct st_query* q,
else
if
(
flags
&
QUERY_REAP
)
else
if
(
flags
&
QUERY_REAP
)
{
{
pthread_mutex_lock
(
&
cn
->
mutex
);
pthread_mutex_lock
(
&
cn
->
mutex
);
if
(
!
cn
->
query_done
)
while
(
!
cn
->
query_done
)
pthread_cond_wait
(
&
cn
->
cond
,
&
cn
->
mutex
);
pthread_cond_wait
(
&
cn
->
cond
,
&
cn
->
mutex
);
pthread_mutex_unlock
(
&
cn
->
mutex
);
pthread_mutex_unlock
(
&
cn
->
mutex
);
}
}
...
...
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