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
8af53376
Commit
8af53376
authored
Mar 30, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/home/bar/mysql-4.1
parents
03951972
103dddfb
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 @
8af53376
drop table if exists t1;
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");
select * from t1;
a
...
...
@@ -23,7 +23,7 @@ a
b
c
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');
select upper(a),upper(b) from t1;
upper(a) upper(b)
...
...
mysql-test/t/ctype_cp1251-master.opt
deleted
100644 → 0
View file @
03951972
--default-character-set=cp1251 --new
mysql-test/t/ctype_cp1251.test
View file @
8af53376
...
...
@@ -10,7 +10,7 @@ SET NAMES cp1251;
# 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"
);
select
*
from
t1
;
select
a
,
left
(
a
,
1
)
as
b
from
t1
;
...
...
@@ -21,7 +21,7 @@ drop table t1;
#
# 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'
);
select
upper
(
a
),
upper
(
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