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
4d5992fc
Commit
4d5992fc
authored
Jul 29, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#57 add a test for tinytext -> text expansion
parent
ac2c1a4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
mysql-test/suite/tokudb.bugs/r/expand_tinytext_text.result
mysql-test/suite/tokudb.bugs/r/expand_tinytext_text.result
+11
-0
mysql-test/suite/tokudb.bugs/t/expand_tinytext_text.test
mysql-test/suite/tokudb.bugs/t/expand_tinytext_text.test
+14
-0
No files found.
mysql-test/suite/tokudb.bugs/r/expand_tinytext_text.result
0 → 100644
View file @
4d5992fc
drop table if exists t;
create table t (u tinytext, v text);
insert into t values ('hi', 'there');
select * from t;
u v
hi there
alter table t change column u u text;
select * from t;
u v
hi there
drop table t;
mysql-test/suite/tokudb.bugs/t/expand_tinytext_text.test
0 → 100644
View file @
4d5992fc
# this test verifies that column expansion of a tinytext to text column retains the correct data
--
source
include
/
have_tokudb
.
inc
--
disable_warnings
drop
table
if
exists
t
;
--
enable_warnings
create
table
t
(
u
tinytext
,
v
text
);
insert
into
t
values
(
'hi'
,
'there'
);
select
*
from
t
;
alter
table
t
change
column
u
u
text
;
select
*
from
t
;
# Final cleanup.
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