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
564f63cc
Commit
564f63cc
authored
Feb 04, 2019
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-18468 merge instant_varchar_enlarge.test and alter_varchar_change.test
parent
a249e57b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
17 deletions
+16
-17
mysql-test/suite/innodb/r/alter_varchar_change.result
mysql-test/suite/innodb/r/alter_varchar_change.result
+9
-0
mysql-test/suite/innodb/r/instant_varchar_enlarge.result
mysql-test/suite/innodb/r/instant_varchar_enlarge.result
+0
-9
mysql-test/suite/innodb/t/alter_varchar_change.test
mysql-test/suite/innodb/t/alter_varchar_change.test
+7
-0
mysql-test/suite/innodb/t/instant_varchar_enlarge.test
mysql-test/suite/innodb/t/instant_varchar_enlarge.test
+0
-8
No files found.
mysql-test/suite/innodb/r/alter_varchar_change.result
View file @
564f63cc
...
...
@@ -459,3 +459,12 @@ t1 CREATE TABLE `t1` (
DROP TABLE t1;
DROP PROCEDURE get_index_id;
DROP PROCEDURE get_table_id;
create table t (a varchar(100)) engine=innodb;
select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
name pos mtype prtype len
a 0 1 524303 100
alter table t modify a varchar(110), algorithm=inplace;
select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
name pos mtype prtype len
a 0 1 524303 110
drop table t;
mysql-test/suite/innodb/r/instant_varchar_enlarge.result
deleted
100644 → 0
View file @
a249e57b
create table t (a varchar(100)) engine=innodb;
select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
name pos mtype prtype len
a 0 1 524303 100
alter table t modify a varchar(110), algorithm=inplace;
select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
name pos mtype prtype len
a 0 1 524303 110
drop table t;
mysql-test/suite/innodb/t/alter_varchar_change.test
View file @
564f63cc
...
...
@@ -334,3 +334,10 @@ DROP TABLE t1;
DROP
PROCEDURE
get_index_id
;
DROP
PROCEDURE
get_table_id
;
# LEN must increase here
create
table
t
(
a
varchar
(
100
))
engine
=
innodb
;
select
name
,
pos
,
mtype
,
prtype
,
len
from
information_schema
.
innodb_sys_columns
where
name
=
'a'
;
alter
table
t
modify
a
varchar
(
110
),
algorithm
=
inplace
;
select
name
,
pos
,
mtype
,
prtype
,
len
from
information_schema
.
innodb_sys_columns
where
name
=
'a'
;
drop
table
t
;
mysql-test/suite/innodb/t/instant_varchar_enlarge.test
deleted
100644 → 0
View file @
a249e57b
--
source
include
/
have_innodb
.
inc
# LEN must increase here
create
table
t
(
a
varchar
(
100
))
engine
=
innodb
;
select
name
,
pos
,
mtype
,
prtype
,
len
from
information_schema
.
innodb_sys_columns
where
name
=
'a'
;
alter
table
t
modify
a
varchar
(
110
),
algorithm
=
inplace
;
select
name
,
pos
,
mtype
,
prtype
,
len
from
information_schema
.
innodb_sys_columns
where
name
=
'a'
;
drop
table
t
;
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