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
9aecb8d5
Commit
9aecb8d5
authored
Feb 06, 2003
by
venu@myvenu.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation errors reported by Lenz on misc platforms
parent
cde22b02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libmysql/libmysql.c
libmysql/libmysql.c
+4
-4
No files found.
libmysql/libmysql.c
View file @
9aecb8d5
...
...
@@ -2038,7 +2038,7 @@ Try also with PIPE or TCP/IP
}
sock_addr
.
sin_port
=
(
ushort
)
htons
((
ushort
)
port
);
if
(
my_connect
(
sock
,(
struct
sockaddr
*
)
&
sock_addr
,
sizeof
(
sock_addr
),
mysql
->
options
.
connect_timeout
)
<
0
)
mysql
->
options
.
connect_timeout
))
{
DBUG_PRINT
(
"error"
,(
"Got error %d on connect to '%s'"
,
socket_errno
,
host
));
net
->
last_errno
=
CR_CONN_HOST_ERROR
;
...
...
@@ -4727,13 +4727,13 @@ static void send_data_double(MYSQL_BIND *param, double value)
*
buffer
=
(
uchar
)
value
;
break
;
case
MYSQL_TYPE_SHORT
:
int2store
(
buffer
,
value
);
int2store
(
buffer
,
(
short
)
value
);
break
;
case
MYSQL_TYPE_LONG
:
int4store
(
buffer
,
value
);
int4store
(
buffer
,
(
long
)
value
);
break
;
case
MYSQL_TYPE_LONGLONG
:
int8store
(
buffer
,
value
);
int8store
(
buffer
,
(
longlong
)
value
);
break
;
case
MYSQL_TYPE_FLOAT
:
{
...
...
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