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
8ff14299
Commit
8ff14299
authored
Nov 17, 2009
by
MySQL Build Team
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix not_partition.test.
Patch done by Alik and received for the 5.5.0-beta build by mail.
parent
41f7c2be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/r/not_partition.result
mysql-test/r/not_partition.result
+4
-4
mysql-test/t/not_partition.test
mysql-test/t/not_partition.test
+4
-4
No files found.
mysql-test/r/not_partition.result
View file @
8ff14299
...
...
@@ -52,9 +52,9 @@ joined DATE NOT NULL
)
PARTITION BY KEY(joined)
PARTITIONS 6;
ERROR HY000: The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working
Got one of the listed errors
ALTER TABLE t1 PARTITION BY KEY(joined) PARTITIONS 2;
ERROR HY000: The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working
Got one of the listed errors
drop table t1;
ERROR 42S02: Unknown table 't1'
CREATE TABLE t1 (
...
...
@@ -71,7 +71,7 @@ PARTITION p2 VALUES LESS THAN (1980),
PARTITION p3 VALUES LESS THAN (1990),
PARTITION p4 VALUES LESS THAN MAXVALUE
);
ERROR HY000: The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working
Got one of the listed errors
drop table t1;
ERROR 42S02: Unknown table 't1'
CREATE TABLE t1 (id INT, purchased DATE)
...
...
@@ -82,7 +82,7 @@ PARTITION p0 VALUES LESS THAN (1990),
PARTITION p1 VALUES LESS THAN (2000),
PARTITION p2 VALUES LESS THAN MAXVALUE
);
ERROR HY000: The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working
Got one of the listed errors
drop table t1;
ERROR 42S02: Unknown table 't1'
create table t1 (a varchar(10) charset latin1 collate latin1_bin);
...
...
mysql-test/t/not_partition.test
View file @
8ff14299
...
...
@@ -31,7 +31,7 @@ ALTER TABLE t1 ENGINE Memory;
ALTER
TABLE
t1
ADD
(
new
INT
);
DROP
TABLE
t1
;
--
error
ER_FEATURE_DISABLED
--
error
ER_FEATURE_DISABLED
,
ER_OPTION_PREVENTS_STATEMENT
CREATE
TABLE
t1
(
firstname
VARCHAR
(
25
)
NOT
NULL
,
lastname
VARCHAR
(
25
)
NOT
NULL
,
...
...
@@ -42,13 +42,13 @@ CREATE TABLE t1 (
PARTITION
BY
KEY
(
joined
)
PARTITIONS
6
;
--
error
ER_FEATURE_DISABLED
--
error
ER_FEATURE_DISABLED
,
ER_OPTION_PREVENTS_STATEMENT
ALTER
TABLE
t1
PARTITION
BY
KEY
(
joined
)
PARTITIONS
2
;
--
error
ER_BAD_TABLE_ERROR
drop
table
t1
;
--
error
ER_FEATURE_DISABLED
--
error
ER_FEATURE_DISABLED
,
ER_OPTION_PREVENTS_STATEMENT
CREATE
TABLE
t1
(
firstname
VARCHAR
(
25
)
NOT
NULL
,
lastname
VARCHAR
(
25
)
NOT
NULL
,
...
...
@@ -66,7 +66,7 @@ PARTITION BY RANGE( YEAR(joined) ) (
--
error
ER_BAD_TABLE_ERROR
drop
table
t1
;
--
error
ER_FEATURE_DISABLED
--
error
ER_FEATURE_DISABLED
,
ER_OPTION_PREVENTS_STATEMENT
CREATE
TABLE
t1
(
id
INT
,
purchased
DATE
)
PARTITION
BY
RANGE
(
YEAR
(
purchased
)
)
SUBPARTITION
BY
HASH
(
TO_DAYS
(
purchased
)
)
...
...
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