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
a1e51e7f
Commit
a1e51e7f
authored
Jun 30, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mariabackup: Test file cleanup
parent
4fe89773
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
mysql-test/suite/mariabackup/include/restart_and_restore.inc
mysql-test/suite/mariabackup/include/restart_and_restore.inc
+2
-8
mysql-test/suite/mariabackup/xb_compressed_encrypted.test
mysql-test/suite/mariabackup/xb_compressed_encrypted.test
+3
-3
No files found.
mysql-test/suite/mariabackup/include/restart_and_restore.inc
View file @
a1e51e7f
let
$_server_id
=
`SELECT @@server_id`
;
let
$_datadir
=
`SELECT @@datadir`
;
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$_server_id
.
expect
;
exec
echo
"wait"
>
$_expect_file_name
;
echo
# shutdown server;
shutdown_server
;
--
source
include
/
shutdown_mysqld
.
inc
echo
# remove datadir;
rmdir
$_datadir
;
echo
# xtrabackup move back;
exec
$XTRABACKUP
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
my
.
cnf
--
copy
-
back
--
datadir
=
$_datadir
--
target
-
dir
=
$targetdir
--
parallel
=
2
--
throttle
=
1
;
echo
# restart server;
exec
echo
"restart"
>
$_expect_file_name
;
enable_reconnect
;
source
include
/
wait_until_connected_again
.
inc
;
disable_reconnect
;
--
source
include
/
start_mysqld
.
inc
mysql-test/suite/mariabackup/xb_compressed_encrypted.test
View file @
a1e51e7f
source
include
/
have_file_key_management
.
inc
;
CREATE
TABLE
t1
(
c1
INT
,
b
VARCHAR
(
2400
),
index
(
b
(
100
),
c1
))
ENGINE
=
INNODB
ROW_FORMAT
=
compressed
ENCRYPTED
=
YES
;
DELIMITER
//;
CREATE
PROCEDURE
innodb_insert_proc
(
REPEAT_COUNT
INT
)
BEGIN
...
...
@@ -14,12 +14,12 @@ BEGIN
END
//
DELIMITER
;
//
COMMIT
;
SET
AUTOCOMMIT
=
0
;
CALL
innodb_insert_proc
(
50000
);
COMMIT
;
echo
# xtrabackup backup;
--
disable_result_log
let
$targetdir
=
$MYSQLTEST_VARDIR
/
tmp
/
backup
;
...
...
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