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
aeb655e0
Commit
aeb655e0
authored
Jun 05, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge with 3.23 to get fix for thr_alarm and big packets
parents
8ad4a240
cd3b680d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/net_serv.cc
sql/net_serv.cc
+2
-2
No files found.
sql/net_serv.cc
View file @
aeb655e0
...
@@ -523,7 +523,7 @@ static my_bool net_safe_read(NET *net, char *buff, uint32 length,
...
@@ -523,7 +523,7 @@ static my_bool net_safe_read(NET *net, char *buff, uint32 length,
if
((
tmp
=
vio_read
(
net
->
vio
,(
char
*
)
net
->
buff
,
length
))
<=
0
)
if
((
tmp
=
vio_read
(
net
->
vio
,(
char
*
)
net
->
buff
,
length
))
<=
0
)
{
{
my_bool
interrupted
=
vio_should_retry
(
net
->
vio
);
my_bool
interrupted
=
vio_should_retry
(
net
->
vio
);
if
(
!
thr_got_alarm
(
&
alarmed
)
&&
interrupted
)
if
(
!
thr_got_alarm
(
alarmed
)
&&
interrupted
)
{
/* Probably in MIT threads */
{
/* Probably in MIT threads */
if
(
retry_count
++
<
net
->
retry_count
)
if
(
retry_count
++
<
net
->
retry_count
)
continue
;
continue
;
...
@@ -557,7 +557,7 @@ static my_bool my_net_skip_rest(NET *net, uint32 remain, thr_alarm_t *alarmed,
...
@@ -557,7 +557,7 @@ static my_bool my_net_skip_rest(NET *net, uint32 remain, thr_alarm_t *alarmed,
DBUG_ENTER
(
"my_net_skip_rest"
);
DBUG_ENTER
(
"my_net_skip_rest"
);
DBUG_PRINT
(
"enter"
,(
"bytes_to_skip: %u"
,
(
uint
)
remain
));
DBUG_PRINT
(
"enter"
,(
"bytes_to_skip: %u"
,
(
uint
)
remain
));
if
(
!
thr_alarm_in_use
(
&
alarmed
))
if
(
!
thr_alarm_in_use
(
alarmed
))
{
{
my_bool
old_mode
;
my_bool
old_mode
;
if
(
!
thr_alarm
(
alarmed
,
net
->
read_timeout
,
alarm_buff
)
||
if
(
!
thr_alarm
(
alarmed
,
net
->
read_timeout
,
alarm_buff
)
||
...
...
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