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
376ca2f6
Commit
376ca2f6
authored
Sep 18, 2023
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings
parent
12615706
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
extra/mariabackup/backup_copy.cc
extra/mariabackup/backup_copy.cc
+1
-1
plugin/feedback/url_http.cc
plugin/feedback/url_http.cc
+6
-1
storage/innobase/fsp/fsp0fsp.cc
storage/innobase/fsp/fsp0fsp.cc
+1
-2
No files found.
extra/mariabackup/backup_copy.cc
View file @
376ca2f6
...
...
@@ -2298,7 +2298,7 @@ ds_ctxt_t::make_hardlink(const char *from_path, const char *to_path)
}
else
{
str
ncpy
(
to_path_full
,
to_path
,
sizeof
(
to_path_full
)
);
str
make
(
to_path_full
,
to_path
,
sizeof
(
to_path_full
)
-
1
);
}
#ifdef _WIN32
return
CreateHardLink
(
to_path_full
,
from_path
,
NULL
);
...
...
plugin/feedback/url_http.cc
View file @
376ca2f6
...
...
@@ -168,7 +168,12 @@ int Url_http::send(const char* data, size_t data_length)
char
buf
[
1024
];
size_t
len
=
0
;
addrinfo
*
addrs
,
*
addr
,
filter
=
{
0
,
AF_UNSPEC
,
SOCK_STREAM
,
6
,
0
,
0
,
0
,
0
};
addrinfo
*
addrs
,
*
addr
,
filter
;
bzero
((
void
*
)
&
filter
,
sizeof
(
filter
));
filter
.
ai_family
=
AF_UNSPEC
;
filter
.
ai_socktype
=
SOCK_STREAM
;
filter
.
ai_protocol
=
6
;
int
res
=
use_proxy
()
?
getaddrinfo
(
proxy_host
.
str
,
proxy_port
.
str
,
&
filter
,
&
addrs
)
:
getaddrinfo
(
host
.
str
,
port
.
str
,
&
filter
,
&
addrs
);
...
...
storage/innobase/fsp/fsp0fsp.cc
View file @
376ca2f6
...
...
@@ -1679,6 +1679,7 @@ fseg_create(fil_space_t *space, ulint byte_offset, mtr_t *mtr, dberr_t *err,
ut_ad
(
byte_offset
>=
FIL_PAGE_DATA
);
ut_ad
(
byte_offset
+
FSEG_HEADER_SIZE
<=
srv_page_size
-
FIL_PAGE_DATA_END
);
buf_block_t
*
iblock
=
0
;
mtr
->
x_lock_space
(
space
);
ut_d
(
space
->
modify_check
(
*
mtr
));
...
...
@@ -1691,8 +1692,6 @@ fseg_create(fil_space_t *space, ulint byte_offset, mtr_t *mtr, dberr_t *err,
goto
funct_exit
;
}
buf_block_t
*
iblock
;
inode_alloc:
inode
=
fsp_alloc_seg_inode
(
space
,
header
,
&
iblock
,
mtr
,
err
);
...
...
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