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
3bb7d3ee
Commit
3bb7d3ee
authored
Nov 09, 2009
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backporting test for Bug#158 ENUM and SET types does not accept valid cp1251 character
parent
eb852073
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
mysql-test/r/ctype_cp1251.result
mysql-test/r/ctype_cp1251.result
+11
-0
mysql-test/t/ctype_cp1251.test
mysql-test/t/ctype_cp1251.test
+10
-0
No files found.
mysql-test/r/ctype_cp1251.result
View file @
3bb7d3ee
...
...
@@ -70,3 +70,14 @@ we_ivo NULL
we_martin NULL
we_toshko NULL
drop table t1;
CREATE TABLE t1 (
e1 enum(''),
e2 enum('')
) ENGINE=MYISAM character set cp1251;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`e1` enum('') DEFAULT NULL,
`e2` enum('') DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=cp1251
DROP TABLE t1;
mysql-test/t/ctype_cp1251.test
View file @
3bb7d3ee
...
...
@@ -47,4 +47,14 @@ insert into t1 (a) values ('air'),
select
*
from
t1
where
a
like
'we_%'
;
drop
table
t1
;
#
# Bug#158 ENUM and SET types does not accept valid cp1251 character
#
CREATE
TABLE
t1
(
e1
enum
(
''
),
e2
enum
(
''
)
)
ENGINE
=
MYISAM
character
set
cp1251
;
SHOW
CREATE
TABLE
t1
;
DROP
TABLE
t1
;
# End of 4.1 tests
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