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
09212cc7
Commit
09212cc7
authored
Jun 07, 2005
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/stewart/Documents/MySQL/4.1/main
parents
ae8d416b
abb2d7aa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletion
+25
-1
mysql-test/r/ctype_cp1250_ch.result
mysql-test/r/ctype_cp1250_ch.result
+12
-0
mysql-test/t/ctype_cp1250_ch.test
mysql-test/t/ctype_cp1250_ch.test
+12
-0
strings/ctype-win1250ch.c
strings/ctype-win1250ch.c
+1
-1
No files found.
mysql-test/r/ctype_cp1250_ch.result
View file @
09212cc7
...
@@ -7,3 +7,15 @@ SELECT a, length(a), a='', a=' ', a=' ' FROM t1;
...
@@ -7,3 +7,15 @@ SELECT a, length(a), a='', a=' ', a=' ' FROM t1;
a length(a) a='' a=' ' a=' '
a length(a) a='' a=' ' a=' '
0 1 1 1
0 1 1 1
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1 (
popisek varchar(30) collate cp1250_general_ci NOT NULL default '',
PRIMARY KEY (`popisek`)
);
INSERT INTO t1 VALUES ('2005-01-1');
SELECT * FROM t1 WHERE popisek = '2005-01-1';
popisek
2005-01-1
SELECT * FROM t1 WHERE popisek LIKE '2005-01-1';
popisek
2005-01-1
drop table t1;
mysql-test/t/ctype_cp1250_ch.test
View file @
09212cc7
...
@@ -10,3 +10,15 @@ CREATE TABLE t1 (a char(16)) character set cp1250 collate cp1250_czech_cs;
...
@@ -10,3 +10,15 @@ CREATE TABLE t1 (a char(16)) character set cp1250 collate cp1250_czech_cs;
INSERT
INTO
t1
VALUES
(
''
);
INSERT
INTO
t1
VALUES
(
''
);
SELECT
a
,
length
(
a
),
a
=
''
,
a
=
' '
,
a
=
' '
FROM
t1
;
SELECT
a
,
length
(
a
),
a
=
''
,
a
=
' '
,
a
=
' '
FROM
t1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug#9759 Empty result with 'LIKE' and cp1250_czech_cs
#
CREATE
TABLE
t1
(
popisek
varchar
(
30
)
collate
cp1250_general_ci
NOT
NULL
default
''
,
PRIMARY
KEY
(
`popisek`
)
);
INSERT
INTO
t1
VALUES
(
'2005-01-1'
);
SELECT
*
FROM
t1
WHERE
popisek
=
'2005-01-1'
;
SELECT
*
FROM
t1
WHERE
popisek
LIKE
'2005-01-1'
;
drop
table
t1
;
strings/ctype-win1250ch.c
View file @
09212cc7
...
@@ -550,7 +550,7 @@ static uchar NEAR like_range_prefix_max_win1250ch[] = {
...
@@ -550,7 +550,7 @@ static uchar NEAR like_range_prefix_max_win1250ch[] = {
240
,
242
,
242
,
245
,
245
,
245
,
245
,
247
,
248
,
251
,
251
,
251
,
251
,
253
,
254
,
255
,
240
,
242
,
242
,
245
,
245
,
245
,
245
,
247
,
248
,
251
,
251
,
251
,
251
,
253
,
254
,
255
,
};
};
#define min_sort_char '\x
0
0'
#define min_sort_char '\x
2
0'
#define max_sort_char '\xff'
#define max_sort_char '\xff'
/*
/*
...
...
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