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
a120d6c5
Commit
a120d6c5
authored
Jan 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1
into april.(none):/home/svoj/devel/mysql/BUG16489/mysql-4.1
parents
b0a31047
0ee28e1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
myisam/ft_update.c
myisam/ft_update.c
+4
-0
mysql-test/r/fulltext2.result
mysql-test/r/fulltext2.result
+5
-0
mysql-test/t/fulltext2.test
mysql-test/t/fulltext2.test
+8
-0
No files found.
myisam/ft_update.c
View file @
a120d6c5
...
@@ -170,6 +170,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
...
@@ -170,6 +170,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
FT_SEG_ITERATOR
ftsi1
,
ftsi2
;
FT_SEG_ITERATOR
ftsi1
,
ftsi2
;
CHARSET_INFO
*
cs
=
info
->
s
->
keyinfo
[
keynr
].
seg
->
charset
;
CHARSET_INFO
*
cs
=
info
->
s
->
keyinfo
[
keynr
].
seg
->
charset
;
DBUG_ENTER
(
"_mi_ft_cmp"
);
DBUG_ENTER
(
"_mi_ft_cmp"
);
#ifndef MYSQL_HAS_TRUE_CTYPE_IMPLEMENTATION
if
(
cs
->
mbmaxlen
>
1
)
DBUG_RETURN
(
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
);
#endif
_mi_ft_segiterator_init
(
info
,
keynr
,
rec1
,
&
ftsi1
);
_mi_ft_segiterator_init
(
info
,
keynr
,
rec1
,
&
ftsi1
);
_mi_ft_segiterator_init
(
info
,
keynr
,
rec2
,
&
ftsi2
);
_mi_ft_segiterator_init
(
info
,
keynr
,
rec2
,
&
ftsi2
);
...
...
mysql-test/r/fulltext2.result
View file @
a120d6c5
...
@@ -234,5 +234,10 @@ insert into t1 values('test test '),('test'),('test'),('test'),
...
@@ -234,5 +234,10 @@ insert into t1 values('test test '),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test');
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test');
delete from t1 limit 1;
delete from t1 limit 1;
truncate table t1;
insert into t1 values('ab c d');
update t1 set a='ab c d';
select * from t1 where match a against('ab c' in boolean mode);
a
drop table t1;
drop table t1;
set names latin1;
set names latin1;
mysql-test/t/fulltext2.test
View file @
a120d6c5
...
@@ -209,6 +209,14 @@ insert into t1 values('test test '),('test'),('test'),('test'),
...
@@ -209,6 +209,14 @@ insert into t1 values('test test '),('test'),('test'),('test'),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
);
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
);
delete
from
t1
limit
1
;
delete
from
t1
limit
1
;
#
# BUG#16489: utf8 + fulltext leads to corrupt index file.
#
truncate
table
t1
;
insert
into
t1
values
(
'ab c d'
);
update
t1
set
a
=
'ab c d'
;
select
*
from
t1
where
match
a
against
(
'ab c'
in
boolean
mode
);
drop
table
t1
;
drop
table
t1
;
set
names
latin1
;
set
names
latin1
;
...
...
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