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
74aefb4d
Commit
74aefb4d
authored
Dec 31, 2000
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to new vio
parent
5c189423
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
include/violite.h
include/violite.h
+1
-1
libmysql/net.c
libmysql/net.c
+2
-2
libmysql/violite.c
libmysql/violite.c
+1
-2
man/Makefile.am
man/Makefile.am
+4
-2
sql/net_serv.cc
sql/net_serv.cc
+2
-2
No files found.
include/violite.h
View file @
74aefb4d
...
...
@@ -70,7 +70,7 @@ my_bool vio_is_blocking( Vio* vio);
/*
* setsockopt TCP_NODELAY at IPPROTO_TCP level, when possible.
*/
int
vio_fastsend
(
Vio
*
vio
,
);
int
vio_fastsend
(
Vio
*
vio
);
/*
* setsockopt SO_KEEPALIVE at SOL_SOCKET level, when possible.
*/
...
...
libmysql/net.c
View file @
74aefb4d
...
...
@@ -128,7 +128,7 @@ int my_net_init(NET *net, Vio* vio)
if
(
!
(
test_flags
&
TEST_BLOCKING
))
vio_blocking
(
vio
,
FALSE
);
#endif
vio_fastsend
(
vio
,
TRUE
);
vio_fastsend
(
vio
);
}
return
0
;
}
...
...
@@ -271,7 +271,7 @@ net_real_write(NET *net,const char *packet,ulong len)
int
length
;
char
*
pos
,
*
end
;
thr_alarm_t
alarmed
;
#if
(!defined(__WIN__) && !defined(__EMX__)
)
#if
!defined(__WIN__) && !defined(__EMX__
)
ALARM
alarm_buff
;
#endif
uint
retry_count
=
0
;
...
...
libmysql/violite.c
View file @
74aefb4d
...
...
@@ -265,11 +265,10 @@ vio_is_blocking(Vio * vio)
}
int
vio_fastsend
(
Vio
*
vio
__attribute__
((
unused
))
,
my_bool
onoff
)
int
vio_fastsend
(
Vio
*
vio
__attribute__
((
unused
)))
{
int
r
=
0
;
DBUG_ENTER
(
"vio_fastsend"
);
DBUG_PRINT
(
"enter"
,
(
"onoff:%d"
,
(
int
)
onoff
));
#ifdef IPTOS_THROUGHPUT
{
...
...
man/Makefile.am
View file @
74aefb4d
...
...
@@ -17,6 +17,8 @@
## Process this file with automake to create Makefile.in
man_MANS
=
mysql.1
man_MANS
=
mysql.1 isamchk.1 isamlog.1 mysql_zap.1 mysqlaccess.1
\
mysqladmin.1 mysqld.1 mysqld_multi.1 mysqldump.1 mysqlshow.1
\
perror.1 replace.1 safe_mysqld.1
EXTRA_DIST
=
$(man_MANS)
EXTRA_DIST
=
$(man_MANS)
sql/net_serv.cc
View file @
74aefb4d
...
...
@@ -128,7 +128,7 @@ int my_net_init(NET *net, Vio* vio)
if
(
!
(
test_flags
&
TEST_BLOCKING
))
vio_blocking
(
vio
,
FALSE
);
#endif
vio_fastsend
(
vio
,
TRUE
);
vio_fastsend
(
vio
);
}
return
0
;
}
...
...
@@ -271,7 +271,7 @@ net_real_write(NET *net,const char *packet,ulong len)
int
length
;
char
*
pos
,
*
end
;
thr_alarm_t
alarmed
;
#if !defined(__WIN__)
#if !defined(__WIN__)
&& !defined(__EMX__)
ALARM
alarm_buff
;
#endif
uint
retry_count
=
0
;
...
...
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