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
dc27f026
Commit
dc27f026
authored
Jan 23, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#171 test case for drop char(0) column
parent
3ec9648f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
mysql-test/suite/tokudb.alter_table/t/hcad_drop_char0_t6.test
...l-test/suite/tokudb.alter_table/t/hcad_drop_char0_t6.test
+17
-0
No files found.
mysql-test/suite/tokudb.alter_table/t/hcad_drop_char0_t6.test
0 → 100644
View file @
dc27f026
# test case reduced from an RQG trial
# the alter table asserts because tokudb classifies the char(0) column as a blob
source
include
/
have_tokudb
.
inc
;
set
default_storage_engine
=
tokudb
;
disable_warnings
;
drop
table
if
exists
t6
;
enable_warnings
;
CREATE
TABLE
t6
(
c32
char
(
0
)
DEFAULT
NULL
,
c15
year
(
4
)
DEFAULT
NULL
,
c13
varchar
(
240
)
DEFAULT
NULL
,
c35
date
NOT
NULL
,
c24
text
,
c27
text
,
c1
int
(
11
)
DEFAULT
NULL
,
c4
int
(
11
)
DEFAULT
NULL
,
c10
int
(
10
)
unsigned
NOT
NULL
,
c14
varchar
(
240
)
DEFAULT
NULL
,
c26
text
,
c25
text
,
c17
varchar
(
240
)
NOT
NULL
,
c28
text
NOT
NULL
,
c7
int
(
10
)
unsigned
DEFAULT
NULL
,
c34
date
NOT
NULL
,
c21
blob
,
c29
text
NOT
NULL
,
c22
blob
NOT
NULL
,
c19
blob
,
c3
int
(
10
)
unsigned
DEFAULT
NULL
,
c2
int
(
10
)
unsigned
DEFAULT
NULL
,
c8
int
(
11
)
NOT
NULL
,
c16
varchar
(
240
)
NOT
NULL
,
c5
int
(
11
)
DEFAULT
NULL
,
c18
blob
,
c23
blob
NOT
NULL
,
c9
int
(
11
)
NOT
NULL
,
c20
blob
,
c12
varchar
(
240
)
DEFAULT
NULL
,
c33
date
DEFAULT
NULL
,
c11
int
(
10
)
unsigned
NOT
NULL
,
c30
date
DEFAULT
NULL
,
c6
int
(
10
)
unsigned
DEFAULT
NULL
,
c31
date
DEFAULT
NULL
,
c0
int
(
11
)
DEFAULT
NULL
,
KEY
c13
(
c13
),
KEY
c35
(
c35
),
KEY
c27
(
c27
(
255
)),
KEY
c1
(
c1
),
KEY
c25
(
c25
(
255
)),
KEY
c17
(
c17
),
KEY
c7
(
c7
),
KEY
c21
(
c21
(
255
)),
KEY
c29
(
c29
(
255
)),
KEY
c19
(
c19
(
255
)),
KEY
c3
(
c3
),
KEY
c5
(
c5
),
KEY
c23
(
c23
(
255
)),
KEY
c15
(
c15
),
KEY
c9
(
c9
),
KEY
c33
(
c33
),
KEY
c11
(
c11
),
KEY
c31
(
c31
));
ALTER
TABLE
t6
DROP
COLUMN
c32
;
DROP
TABLE
t6
;
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