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
3d167583
Commit
3d167583
authored
Jan 17, 2006
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A test case for Bug#6073 "ALTER TABLE minor glitch" (can't repeat)
parent
f693473f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
mysql-test/r/alter_table.result
mysql-test/r/alter_table.result
+4
-0
mysql-test/t/alter_table.test
mysql-test/t/alter_table.test
+10
-0
No files found.
mysql-test/r/alter_table.result
View file @
3d167583
...
...
@@ -562,3 +562,7 @@ desc t1;
Field Type Null Key Default Extra
mycol int(10) NO 0
drop table t1;
create table t1 (t varchar(255) default null, key t (t(80)))
engine=myisam default charset=latin1;
alter table t1 change t t text;
drop table t1;
mysql-test/t/alter_table.test
View file @
3d167583
...
...
@@ -412,3 +412,13 @@ create table t1 (mycol int(10) not null);
alter
table
t1
alter
column
mycol
set
default
0
;
desc
t1
;
drop
table
t1
;
#
# Bug#6073 "ALTER table minor glich": ALTER TABLE complains that an index
# without # prefix is not allowed for TEXT columns, while index
# is defined with prefix.
#
create
table
t1
(
t
varchar
(
255
)
default
null
,
key
t
(
t
(
80
)))
engine
=
myisam
default
charset
=
latin1
;
alter
table
t1
change
t
t
text
;
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