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
120f848f
Commit
120f848f
authored
Nov 06, 2017
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test case
parent
f830314f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/suite/mariabackup/partition_datadir.result
mysql-test/suite/mariabackup/partition_datadir.result
+2
-2
mysql-test/suite/mariabackup/partition_datadir.test
mysql-test/suite/mariabackup/partition_datadir.test
+4
-2
No files found.
mysql-test/suite/mariabackup/partition_datadir.result
View file @
120f848f
...
@@ -3,8 +3,8 @@ ENGINE=InnoDB
...
@@ -3,8 +3,8 @@ ENGINE=InnoDB
PARTITION BY RANGE (i)
PARTITION BY RANGE (i)
(PARTITION p0 VALUES LESS THAN (100),
(PARTITION p0 VALUES LESS THAN (100),
PARTITION P1 VALUES LESS THAN (200),
PARTITION P1 VALUES LESS THAN (200),
PARTITION p2 VALUES LESS THAN (300) DATA DIRECTORY =
"D:/work/10.1/xxx/mysql-test/var/partitdata"
,
PARTITION p2 VALUES LESS THAN (300) DATA DIRECTORY =
'MYSQLTEST_VARDIR/partitdata'
,
PARTITION p3 VALUES LESS THAN (400) DATA DIRECTORY =
"D:/work/10.1/xxx/mysql-test/var/partitdata"
,
PARTITION p3 VALUES LESS THAN (400) DATA DIRECTORY =
'MYSQLTEST_VARDIR/partitdata'
,
PARTITION p4 VALUES LESS THAN MAXVALUE);
PARTITION p4 VALUES LESS THAN MAXVALUE);
INSERT INTO t VALUES (1), (101), (201), (301), (401);
INSERT INTO t VALUES (1), (101), (201), (301), (401);
DROP TABLE t;
DROP TABLE t;
...
...
mysql-test/suite/mariabackup/partition_datadir.test
View file @
120f848f
let
$targetdir
=
$MYSQLTEST_VARDIR
/
backup
;
let
$targetdir
=
$MYSQLTEST_VARDIR
/
backup
;
mkdir
$targetdir
;
mkdir
$targetdir
;
mkdir
$MYSQLTEST_VARDIR
/
partitdata
;
mkdir
$MYSQLTEST_VARDIR
/
partitdata
;
--
replace_result
$MYSQLTEST_VARDIR
MYSQLTEST_VARDIR
eval
CREATE
TABLE
t
(
i
int
)
eval
CREATE
TABLE
t
(
i
int
)
ENGINE
=
InnoDB
ENGINE
=
InnoDB
PARTITION
BY
RANGE
(
i
)
PARTITION
BY
RANGE
(
i
)
(
PARTITION
p0
VALUES
LESS
THAN
(
100
),
(
PARTITION
p0
VALUES
LESS
THAN
(
100
),
PARTITION
P1
VALUES
LESS
THAN
(
200
),
PARTITION
P1
VALUES
LESS
THAN
(
200
),
PARTITION
p2
VALUES
LESS
THAN
(
300
)
DATA
DIRECTORY
=
"
$MYSQLTEST_VARDIR
/partitdata"
,
PARTITION
p2
VALUES
LESS
THAN
(
300
)
DATA
DIRECTORY
=
'$MYSQLTEST_VARDIR/partitdata'
,
PARTITION
p3
VALUES
LESS
THAN
(
400
)
DATA
DIRECTORY
=
"
$MYSQLTEST_VARDIR
/partitdata"
,
PARTITION
p3
VALUES
LESS
THAN
(
400
)
DATA
DIRECTORY
=
'$MYSQLTEST_VARDIR/partitdata'
,
PARTITION
p4
VALUES
LESS
THAN
MAXVALUE
);
PARTITION
p4
VALUES
LESS
THAN
MAXVALUE
);
INSERT
INTO
t
VALUES
(
1
),
(
101
),
(
201
),
(
301
),
(
401
);
INSERT
INTO
t
VALUES
(
1
),
(
101
),
(
201
),
(
301
),
(
401
);
exec
$XTRABACKUP
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
my
.
cnf
--
backup
--
target
-
dir
=
$targetdir
;
exec
$XTRABACKUP
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
my
.
cnf
--
backup
--
target
-
dir
=
$targetdir
;
...
...
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