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
5c159c90
Commit
5c159c90
authored
Jan 23, 2019
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-18356
Rename it because it caused parser warning whenever --backup was used.
parent
9f4d4f40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
extra/mariabackup/fil_cur.cc
extra/mariabackup/fil_cur.cc
+1
-1
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+6
-6
extra/mariabackup/xtrabackup.h
extra/mariabackup/xtrabackup.h
+1
-1
No files found.
extra/mariabackup/fil_cur.cc
View file @
5c159c90
...
...
@@ -322,7 +322,7 @@ static bool page_is_corrupted(const byte *page, ulint page_no,
page_no first. */
if
(
page_no
&&
mach_read_from_4
(
page
+
FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION
)
&&
(
opt_
backup_encrypted
&&
(
opt_
encrypted_backup
||
(
space
->
crypt_data
&&
space
->
crypt_data
->
type
!=
CRYPT_SCHEME_UNENCRYPTED
)))
{
...
...
extra/mariabackup/xtrabackup.cc
View file @
5c159c90
...
...
@@ -201,7 +201,7 @@ static char* log_ignored_opt;
extern
my_bool
opt_use_ssl
;
my_bool
opt_ssl_verify_server_cert
;
my_bool
opt_extended_validation
;
my_bool
opt_
backup_encrypted
;
my_bool
opt_
encrypted_backup
;
/* === metadata of backup === */
#define XTRABACKUP_METADATA_FILENAME "xtrabackup_checkpoints"
...
...
@@ -762,7 +762,7 @@ enum options_xtrabackup
OPT_XTRA_DATABASES_FILE
,
OPT_XTRA_PARALLEL
,
OPT_XTRA_EXTENDED_VALIDATION
,
OPT_XTRA_
BACKUP_ENCRYPTED
,
OPT_XTRA_
ENCRYPTED_BACKUP
,
OPT_XTRA_STREAM
,
OPT_XTRA_COMPRESS
,
OPT_XTRA_COMPRESS_THREADS
,
...
...
@@ -1231,12 +1231,12 @@ struct my_option xb_server_options[] =
(
G_PTR
*
)
&
opt_extended_validation
,
0
,
GET_BOOL
,
NO_ARG
,
FALSE
,
0
,
0
,
0
,
0
,
0
},
{
"
backup_encrypted"
,
OPT_XTRA_BACKUP_ENCRYPTED
,
{
"
encrypted_backup"
,
OPT_XTRA_ENCRYPTED_BACKUP
,
"In --backup, assume that nonzero key_version implies that the page"
" is encrypted. Use --backup --skip-
backup-encrypted
to allow"
" is encrypted. Use --backup --skip-
encrypted-backup
to allow"
" copying unencrypted that were originally created before MySQL 5.1.48."
,
(
G_PTR
*
)
&
opt_
backup_encrypted
,
(
G_PTR
*
)
&
opt_
backup_encrypted
,
(
G_PTR
*
)
&
opt_
encrypted_backup
,
(
G_PTR
*
)
&
opt_
encrypted_backup
,
0
,
GET_BOOL
,
NO_ARG
,
TRUE
,
0
,
0
,
0
,
0
,
0
},
{
"log"
,
OPT_LOG
,
"Ignored option for MySQL option compatibility"
,
...
...
extra/mariabackup/xtrabackup.h
View file @
5c159c90
...
...
@@ -108,7 +108,7 @@ extern my_bool opt_no_backup_locks;
extern
my_bool
opt_decompress
;
extern
my_bool
opt_remove_original
;
extern
my_bool
opt_extended_validation
;
extern
my_bool
opt_
backup_encrypted
;
extern
my_bool
opt_
encrypted_backup
;
extern
my_bool
opt_lock_ddl_per_table
;
extern
char
*
opt_incremental_history_name
;
...
...
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