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
c0e24cd0
Commit
c0e24cd0
authored
Apr 20, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warnings
parent
f21dcd99
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
10 deletions
+14
-10
extra/mariabackup/backup_mysql.cc
extra/mariabackup/backup_mysql.cc
+0
-1
extra/mariabackup/crc/crc_glue.c
extra/mariabackup/crc/crc_glue.c
+3
-3
extra/mariabackup/ds_archive.c
extra/mariabackup/ds_archive.c
+8
-3
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+1
-1
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+2
-2
No files found.
extra/mariabackup/backup_mysql.cc
View file @
c0e24cd0
...
...
@@ -1395,7 +1395,6 @@ write_xtrabackup_info(MYSQL *connection)
char
buf_start_time
[
100
];
char
buf_end_time
[
100
];
tm
tm
;
my_bool
null
=
TRUE
;
ostringstream
oss
;
const
char
*
xb_stream_name
[]
=
{
"file"
,
"tar"
,
"xbstream"
};
...
...
extra/mariabackup/crc/crc_glue.c
View file @
c0e24cd0
...
...
@@ -18,11 +18,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*******************************************************/
#include <zlib.h>
#include <stdint.h>
#include <string.h>
#include "crc_glue.h"
#include "crc-intel-pclmul.h"
#include <stdint.h>
#include <string.h>
#include <zlib.h>
#if __GNUC__ >= 4 && defined(__x86_64__)
static
int
pclmul_enabled
=
0
;
...
...
extra/mariabackup/ds_archive.c
View file @
c0e24cd0
...
...
@@ -24,6 +24,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#include "common.h"
#include "datasink.h"
#if ARCHIVE_VERSION_NUMBER < 3000000
#define archive_write_add_filter_none(X) archive_write_set_compression_none(X)
#define archive_write_free(X) archive_write_finish(X)
#endif
typedef
struct
{
struct
archive
*
archive
;
ds_file_t
*
dest_file
;
...
...
@@ -114,14 +119,14 @@ archive_init(const char *root __attribute__((unused)))
archive_ctxt
->
archive
=
a
;
archive_ctxt
->
dest_file
=
NULL
;
if
(
archive_write_set_compression
_none
(
a
)
!=
ARCHIVE_OK
||
if
(
archive_write_add_filter
_none
(
a
)
!=
ARCHIVE_OK
||
archive_write_set_format_pax_restricted
(
a
)
!=
ARCHIVE_OK
||
/* disable internal buffering so we don't have to flush the
output in xtrabackup */
archive_write_set_bytes_per_block
(
a
,
0
)
!=
ARCHIVE_OK
)
{
msg
(
"failed to set libarchive archive options: %s
\n
"
,
archive_error_string
(
a
));
archive_write_finish
(
a
);
archive_write_free
(
a
);
goto
err
;
}
...
...
@@ -262,7 +267,7 @@ archive_deinit(ds_ctxt_t *ctxt)
if
(
archive_write_close
(
a
)
!=
ARCHIVE_OK
)
{
msg
(
"archive_write_close() failed.
\n
"
);
}
archive_write_f
inish
(
a
);
archive_write_f
ree
(
a
);
if
(
archive_ctxt
->
dest_file
)
{
ds_close
(
archive_ctxt
->
dest_file
);
...
...
extra/mariabackup/xtrabackup.cc
View file @
c0e24cd0
...
...
@@ -6514,7 +6514,7 @@ xtrabackup_prepare_func(int argc, char ** argv)
Unfinished transactions are not rolled back during log applying
as they can be finished at the firther files applyings.
*/
srv_apply_log_only
=
xtrabackup
_apply_log_only
=
true
;
xtrabackup_apply_log_only
=
srv
_apply_log_only
=
true
;
if
(
!
xtrabackup_arch_search_files
(
min_flushed_lsn
))
{
goto
error_cleanup
;
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
c0e24cd0
...
...
@@ -17401,11 +17401,11 @@ innodb_log_archive_update(
if
(
in_val
)
{
/* turn archiving on */
srv_log_archive_on
=
innobase_log_archive
=
1
;
innobase_log_archive
=
srv_log_archive_on
=
1
;
log_archive_archivelog
();
}
else
{
/* turn archivng off */
srv_log_archive_on
=
innobase_log_archive
=
0
;
innobase_log_archive
=
srv_log_archive_on
=
0
;
log_archive_noarchivelog
();
}
}
...
...
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