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
cda336b9
Commit
cda336b9
authored
Sep 09, 2004
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #5447 Select does not find records
Note, there is no need to propagate this change into 4.1.
parent
9f66608a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
mysql-test/r/ctype_latin1_de.result
mysql-test/r/ctype_latin1_de.result
+15
-0
mysql-test/t/ctype_latin1_de.test
mysql-test/t/ctype_latin1_de.test
+14
-0
strings/ctype-latin1_de.c
strings/ctype-latin1_de.c
+1
-1
No files found.
mysql-test/r/ctype_latin1_de.result
View file @
cda336b9
...
...
@@ -267,3 +267,18 @@ select * from t1 where word like CAST(0xDF as CHAR);
word word2
drop table t1;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (
autor varchar(80) NOT NULL default '',
PRIMARY KEY (autor)
);
INSERT INTO t1 VALUES ('Powell, B.'),('Powell, Bud.'),('Powell, L. H.'),('Power, H.'),
('Poynter, M. A. L. Lane'),('Poynting, J. H. und J. J. Thomson.'),('Pozzi, S(amuel-Jean).'),
('Pozzi, Samuel-Jean.'),('Pozzo, A.'),('Pozzoli, Serge.');
SELECT * FROM t1 WHERE autor LIKE 'Poz%' ORDER BY autor;
autor
Pozzi, S(amuel-Jean).
Pozzi, Samuel-Jean.
Pozzo, A.
Pozzoli, Serge.
DROP TABLE t1;
mysql-test/t/ctype_latin1_de.test
View file @
cda336b9
...
...
@@ -72,3 +72,17 @@ select * from t1 where word like 'AE';
select
*
from
t1
where
word
like
0xDF
;
select
*
from
t1
where
word
like
CAST
(
0xDF
as
CHAR
);
drop
table
t1
;
#
# Bug #5447 Select does not find records
#
DROP
TABLE
IF
EXISTS
t1
;
CREATE
TABLE
t1
(
autor
varchar
(
80
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
autor
)
);
INSERT
INTO
t1
VALUES
(
'Powell, B.'
),(
'Powell, Bud.'
),(
'Powell, L. H.'
),(
'Power, H.'
),
(
'Poynter, M. A. L. Lane'
),(
'Poynting, J. H. und J. J. Thomson.'
),(
'Pozzi, S(amuel-Jean).'
),
(
'Pozzi, Samuel-Jean.'
),(
'Pozzo, A.'
),(
'Pozzoli, Serge.'
);
SELECT
*
FROM
t1
WHERE
autor
LIKE
'Poz%'
ORDER
BY
autor
;
DROP
TABLE
t1
;
strings/ctype-latin1_de.c
View file @
cda336b9
...
...
@@ -248,7 +248,7 @@ int my_strxfrm_latin1_de(uchar * dest, const uchar * src, int len)
*/
#define min_sort_char ((char) 0)
#define max_sort_char ((char)
255
)
#define max_sort_char ((char)
0xF7
)
#define wild_one '_'
#define wild_many '%'
...
...
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