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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
78989b67
Commit
78989b67
authored
Apr 22, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9168 altering a column comment does a full copy
add a test case
parent
b233b15c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
mysql-test/r/alter_table_online.result
mysql-test/r/alter_table_online.result
+9
-0
mysql-test/t/alter_table_online.test
mysql-test/t/alter_table_online.test
+15
-0
No files found.
mysql-test/r/alter_table_online.result
View file @
78989b67
...
@@ -64,3 +64,12 @@ drop table t1,t2,t3;
...
@@ -64,3 +64,12 @@ drop table t1,t2,t3;
create table t1 (i int) partition by hash(i) partitions 2;
create table t1 (i int) partition by hash(i) partitions 2;
alter online table t1 comment 'test';
alter online table t1 comment 'test';
drop table t1;
drop table t1;
create table t1 (a int);
alter online table t1 modify a int comment 'test';
drop table t1;
create table t1 (a int) engine=innodb;
alter online table t1 modify a int comment 'test';
drop table t1;
create table t1 (a int) partition by hash(a) partitions 2;
alter online table t1 modify a int comment 'test';
drop table t1;
mysql-test/t/alter_table_online.test
View file @
78989b67
...
@@ -106,3 +106,18 @@ drop table t1,t2,t3;
...
@@ -106,3 +106,18 @@ drop table t1,t2,t3;
create
table
t1
(
i
int
)
partition
by
hash
(
i
)
partitions
2
;
create
table
t1
(
i
int
)
partition
by
hash
(
i
)
partitions
2
;
alter
online
table
t1
comment
'test'
;
alter
online
table
t1
comment
'test'
;
drop
table
t1
;
drop
table
t1
;
#
# MDEV-9168 altering a column comment does a full copy
#
create
table
t1
(
a
int
);
alter
online
table
t1
modify
a
int
comment
'test'
;
drop
table
t1
;
create
table
t1
(
a
int
)
engine
=
innodb
;
alter
online
table
t1
modify
a
int
comment
'test'
;
drop
table
t1
;
create
table
t1
(
a
int
)
partition
by
hash
(
a
)
partitions
2
;
alter
online
table
t1
modify
a
int
comment
'test'
;
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