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
4916da25
Commit
4916da25
authored
Jun 05, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test if thr_alarm() failed
parent
9b73c709
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/net_serv.cc
sql/net_serv.cc
+1
-1
No files found.
sql/net_serv.cc
View file @
4916da25
...
@@ -437,7 +437,7 @@ static void my_net_skip_rest(NET *net, ulong remain, thr_alarm_t *alarmed,
...
@@ -437,7 +437,7 @@ static void my_net_skip_rest(NET *net, ulong remain, thr_alarm_t *alarmed,
uint
retry_count
=
0
;
uint
retry_count
=
0
;
if
(
!
thr_alarm_in_use
(
alarmed
))
if
(
!
thr_alarm_in_use
(
alarmed
))
{
{
if
(
!
thr_alarm
(
alarmed
,
net
->
timeout
,
alarm_buff
)
||
if
(
thr_alarm
(
alarmed
,
net
->
timeout
,
alarm_buff
)
||
(
!
vio_is_blocking
(
net
->
vio
)
&&
vio_blocking
(
net
->
vio
,
TRUE
)
<
0
))
(
!
vio_is_blocking
(
net
->
vio
)
&&
vio_blocking
(
net
->
vio
,
TRUE
)
<
0
))
return
;
/* Can't setup, abort */
return
;
/* Can't setup, abort */
}
}
...
...
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