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
63d2f81a
Commit
63d2f81a
authored
Mar 30, 2005
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove .opt file for faster test running.
parent
456aba6e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
mysql-test/r/ctype_cp1251.result
mysql-test/r/ctype_cp1251.result
+2
-2
mysql-test/t/ctype_cp1251-master.opt
mysql-test/t/ctype_cp1251-master.opt
+0
-2
mysql-test/t/ctype_cp1251.test
mysql-test/t/ctype_cp1251.test
+2
-2
No files found.
mysql-test/r/ctype_cp1251.result
View file @
63d2f81a
drop table if exists t1;
drop table if exists t1;
SET NAMES cp1251;
SET NAMES cp1251;
create table t1 (a varchar(10) not null);
create table t1 (a varchar(10) not null)
character set cp1251
;
insert into t1 values ("a"),("ab"),("abc");
insert into t1 values ("a"),("ab"),("abc");
select * from t1;
select * from t1;
a
a
...
@@ -23,7 +23,7 @@ a
...
@@ -23,7 +23,7 @@ a
b
b
c
c
drop table t1;
drop table t1;
create table t1 (a char(15) binary, b binary(15));
create table t1 (a char(15) binary, b binary(15))
character set cp1251
;
insert into t1 values ('aaa','bbb'),('AAA','BBB');
insert into t1 values ('aaa','bbb'),('AAA','BBB');
select upper(a),upper(b) from t1;
select upper(a),upper(b) from t1;
upper(a) upper(b)
upper(a) upper(b)
...
...
mysql-test/t/ctype_cp1251-master.opt
deleted
100644 → 0
View file @
456aba6e
--default-character-set=cp1251 --new
mysql-test/t/ctype_cp1251.test
View file @
63d2f81a
...
@@ -10,7 +10,7 @@ SET NAMES cp1251;
...
@@ -10,7 +10,7 @@ SET NAMES cp1251;
# Test problem with LEFT() (Bug #514)
# Test problem with LEFT() (Bug #514)
#
#
create
table
t1
(
a
varchar
(
10
)
not
null
);
create
table
t1
(
a
varchar
(
10
)
not
null
)
character
set
cp1251
;
insert
into
t1
values
(
"a"
),(
"ab"
),(
"abc"
);
insert
into
t1
values
(
"a"
),(
"ab"
),(
"abc"
);
select
*
from
t1
;
select
*
from
t1
;
select
a
,
left
(
a
,
1
)
as
b
from
t1
;
select
a
,
left
(
a
,
1
)
as
b
from
t1
;
...
@@ -21,7 +21,7 @@ drop table t1;
...
@@ -21,7 +21,7 @@ drop table t1;
#
#
# Test of binary and upper/lower
# Test of binary and upper/lower
#
#
create
table
t1
(
a
char
(
15
)
binary
,
b
binary
(
15
));
create
table
t1
(
a
char
(
15
)
binary
,
b
binary
(
15
))
character
set
cp1251
;
insert
into
t1
values
(
'aaa'
,
'bbb'
),(
'AAA'
,
'BBB'
);
insert
into
t1
values
(
'aaa'
,
'bbb'
),(
'AAA'
,
'BBB'
);
select
upper
(
a
),
upper
(
b
)
from
t1
;
select
upper
(
a
),
upper
(
b
)
from
t1
;
select
lower
(
a
),
lower
(
b
)
from
t1
;
select
lower
(
a
),
lower
(
b
)
from
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