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
0a4426c0
Commit
0a4426c0
authored
Dec 15, 2005
by
holyfoot@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests fixed as we implement informative error message
parent
f934268d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
mysql-test/r/partition_list.result
mysql-test/r/partition_list.result
+5
-5
mysql-test/r/partition_range.result
mysql-test/r/partition_range.result
+5
-5
mysql-test/t/partition_list.test
mysql-test/t/partition_list.test
+5
-5
mysql-test/t/partition_range.test
mysql-test/t/partition_range.test
+5
-5
No files found.
mysql-test/r/partition_list.result
View file @
0a4426c0
...
...
@@ -9,16 +9,16 @@ partitions 2
partition x234 values in (4,7,8));
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (2,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 2
INSERT into t1 VALUES (3,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 3
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (5,1,1);
INSERT into t1 VALUES (6,1,1);
INSERT into t1 VALUES (7,1,1);
INSERT into t1 VALUES (8,1,1);
INSERT into t1 VALUES (9,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 9
INSERT into t1 VALUES (1,2,1);
INSERT into t1 VALUES (1,3,1);
INSERT into t1 VALUES (1,4,1);
...
...
@@ -137,7 +137,7 @@ a b c
7 4 1
INSERT into t1 VALUES (6,2,1);
INSERT into t1 VALUES (2,2,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 2
drop table t1;
CREATE TABLE t1 (
a int not null,
...
...
@@ -156,7 +156,7 @@ subpartition x22 nodegroup 1)
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (7,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 7
UPDATE t1 SET a=5 WHERE a=1;
SELECT * from t1;
a b c
...
...
mysql-test/r/partition_range.result
View file @
0a4426c0
...
...
@@ -94,7 +94,7 @@ INSERT into t1 values (1, 1, 1);
INSERT into t1 values (6, 1, 1);
INSERT into t1 values (10, 1, 1);
INSERT into t1 values (15, 1, 1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 15
select * from t1;
a b c
1 1 1
...
...
@@ -206,7 +206,7 @@ subpartition x22 engine myisam nodegroup 1)
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (5,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 5
SELECT * from t1;
a b c
1 1 1
...
...
@@ -243,7 +243,7 @@ subpartition x22 tablespace t2 engine myisam)
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (5,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 5
SELECT * from t1;
a b c
1 1 1
...
...
@@ -280,7 +280,7 @@ subpartition x22 tablespace t2)
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (5,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 5
SELECT * from t1;
a b c
1 1 1
...
...
@@ -317,7 +317,7 @@ subpartition x22 engine myisam)
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (5,1,1);
ERROR HY000:
Got error 1 from storage engine
ERROR HY000:
Table has no partition for value 5
SELECT * from t1;
a b c
1 1 1
...
...
mysql-test/t/partition_list.test
View file @
0a4426c0
...
...
@@ -22,16 +22,16 @@ partitions 2
partition
x234
values
in
(
4
,
7
,
8
));
INSERT
into
t1
VALUES
(
1
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
2
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
3
,
1
,
1
);
INSERT
into
t1
VALUES
(
4
,
1
,
1
);
INSERT
into
t1
VALUES
(
5
,
1
,
1
);
INSERT
into
t1
VALUES
(
6
,
1
,
1
);
INSERT
into
t1
VALUES
(
7
,
1
,
1
);
INSERT
into
t1
VALUES
(
8
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
9
,
1
,
1
);
INSERT
into
t1
VALUES
(
1
,
2
,
1
);
INSERT
into
t1
VALUES
(
1
,
3
,
1
);
...
...
@@ -64,7 +64,7 @@ partitions 2
partition
x234
values
in
(
4
,
7
,
8
));
SELECT
*
from
t1
;
INSERT
into
t1
VALUES
(
6
,
2
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
2
,
2
,
1
);
drop
table
t1
;
...
...
@@ -89,7 +89,7 @@ subpartition by hash (a+b)
INSERT
into
t1
VALUES
(
1
,
1
,
1
);
INSERT
into
t1
VALUES
(
4
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
7
,
1
,
1
);
UPDATE
t1
SET
a
=
5
WHERE
a
=
1
;
SELECT
*
from
t1
;
...
...
mysql-test/t/partition_range.test
View file @
0a4426c0
...
...
@@ -97,7 +97,7 @@ partitions 3
INSERT
into
t1
values
(
1
,
1
,
1
);
INSERT
into
t1
values
(
6
,
1
,
1
);
INSERT
into
t1
values
(
10
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
values
(
15
,
1
,
1
);
select
*
from
t1
;
...
...
@@ -219,7 +219,7 @@ subpartition by hash (a+b)
INSERT
into
t1
VALUES
(
1
,
1
,
1
);
INSERT
into
t1
VALUES
(
4
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
5
,
1
,
1
);
SELECT
*
from
t1
;
...
...
@@ -260,7 +260,7 @@ subpartition by hash (a+b)
INSERT
into
t1
VALUES
(
1
,
1
,
1
);
INSERT
into
t1
VALUES
(
4
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
5
,
1
,
1
);
SELECT
*
from
t1
;
...
...
@@ -301,7 +301,7 @@ subpartition by hash (a+b)
INSERT
into
t1
VALUES
(
1
,
1
,
1
);
INSERT
into
t1
VALUES
(
4
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
5
,
1
,
1
);
SELECT
*
from
t1
;
...
...
@@ -342,7 +342,7 @@ subpartition by hash (a+b)
INSERT
into
t1
VALUES
(
1
,
1
,
1
);
INSERT
into
t1
VALUES
(
4
,
1
,
1
);
--
error
1030
--
error
ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT
into
t1
VALUES
(
5
,
1
,
1
);
SELECT
*
from
t1
;
...
...
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