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
e389f947
Commit
e389f947
authored
Jan 23, 2006
by
reggie@linux.site
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG# 15523 - ALTER TABLE ... PARTITION BY does not work
this was fixed by WL 2604
parent
7350f483
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
mysql-test/r/partition_mgm_err.result
mysql-test/r/partition_mgm_err.result
+13
-0
mysql-test/t/partition_mgm_err.test
mysql-test/t/partition_mgm_err.test
+9
-0
No files found.
mysql-test/r/partition_mgm_err.result
View file @
e389f947
...
...
@@ -125,3 +125,16 @@ ALTER TABLE t1 ADD PARTITION (
PARTITION p5 VALUES LESS THAN (2010),
PARTITION p6 VALUES LESS THAN MAXVALUE);
DROP TABLE t1;
CREATE TABLE t1 (a INT);
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
ALTER TABLE t1 PARTITION BY KEY(a) PARTITIONS 2;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PARTITION BY KEY (a) PARTITIONS 2
DROP TABLE t1;
mysql-test/t/partition_mgm_err.test
View file @
e389f947
...
...
@@ -184,3 +184,12 @@ ALTER TABLE t1 ADD PARTITION (
PARTITION
p5
VALUES
LESS
THAN
(
2010
),
PARTITION
p6
VALUES
LESS
THAN
MAXVALUE
);
DROP
TABLE
t1
;
#
#BUG 15523 ALTER TABLE ... PARTITION BY does not work
#
CREATE
TABLE
t1
(
a
INT
);
SHOW
CREATE
TABLE
t1
;
ALTER
TABLE
t1
PARTITION
BY
KEY
(
a
)
PARTITIONS
2
;
SHOW
CREATE
TABLE
t1
;
DROP
TABLE
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