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
a88a9842
Commit
a88a9842
authored
Oct 08, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge sql/violite.c with libmysql/violite.c
parent
88e5ee01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
libmysql/violite.c
libmysql/violite.c
+3
-3
sql/violite.c
sql/violite.c
+7
-0
No files found.
libmysql/violite.c
View file @
a88a9842
...
...
@@ -161,7 +161,7 @@ int vio_read(Vio * vio, gptr buf, int size)
{
int
r
;
DBUG_ENTER
(
"vio_read"
);
DBUG_PRINT
(
"enter"
,
(
"sd=%d
, buf=%p, size=%d"
,
vio
->
sd
,
buf
,
size
));
DBUG_PRINT
(
"enter"
,
(
"sd=%d
size=%d"
,
vio
->
sd
,
size
));
#if defined( __WIN__) || defined(OS2)
if
(
vio
->
type
==
VIO_TYPE_NAMEDPIPE
)
{
...
...
@@ -195,7 +195,7 @@ int vio_write(Vio * vio, const gptr buf, int size)
{
int
r
;
DBUG_ENTER
(
"vio_write"
);
DBUG_PRINT
(
"enter"
,
(
"sd=%d
, buf=%p, size=%d"
,
vio
->
sd
,
buf
,
size
));
DBUG_PRINT
(
"enter"
,
(
"sd=%d
size=%d"
,
vio
->
sd
,
size
));
#if defined( __WIN__) || defined(OS2)
if
(
vio
->
type
==
VIO_TYPE_NAMEDPIPE
)
{
...
...
@@ -310,7 +310,7 @@ int vio_keepalive(Vio* vio, my_bool set_keep_alive)
int
r
=
0
;
uint
opt
=
0
;
DBUG_ENTER
(
"vio_keepalive"
);
DBUG_PRINT
(
"enter"
,
(
"sd=%d
,
set_keep_alive=%d"
,
vio
->
sd
,
(
int
)
DBUG_PRINT
(
"enter"
,
(
"sd=%d
set_keep_alive=%d"
,
vio
->
sd
,
(
int
)
set_keep_alive
));
if
(
vio
->
type
!=
VIO_TYPE_NAMEDPIPE
)
{
...
...
sql/violite.c
View file @
a88a9842
...
...
@@ -39,6 +39,13 @@
#include <sys/ioctl.h>
#endif
#if !defined(MSDOS) && !defined(__WIN__) && !defined(HAVE_BROKEN_NETINET_INCLUDES) && !defined(__BEOS__)
#include <netinet/ip.h>
#if !defined(alpha_linux_port)
#include <netinet/tcp.h>
#endif
#endif
#if defined(__EMX__) || defined(OS2)
#define ioctlsocket ioctl
#endif
/* defined(__EMX__) */
...
...
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