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
25f396ad
Commit
25f396ad
authored
Dec 18, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
parents
52c04400
3cd1e976
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
1 deletion
+52
-1
myisam/mi_delete.c
myisam/mi_delete.c
+1
-1
mysql-test/r/fulltext2.result
mysql-test/r/fulltext2.result
+21
-0
mysql-test/t/fulltext2.test
mysql-test/t/fulltext2.test
+30
-0
No files found.
myisam/mi_delete.c
View file @
25f396ad
...
...
@@ -157,7 +157,7 @@ static int _mi_ck_real_delete(register MI_INFO *info, MI_KEYDEF *keyinfo,
goto
err
;
}
if
((
error
=
d_search
(
info
,
keyinfo
,
(
keyinfo
->
flag
&
HA_FULLTEXT
?
SEARCH_FIND
(
keyinfo
->
flag
&
HA_FULLTEXT
?
SEARCH_FIND
|
SEARCH_UPDATE
:
SEARCH_SAME
),
key
,
key_length
,
old_root
,
root_buff
))
>
0
)
{
...
...
mysql-test/r/fulltext2.result
View file @
25f396ad
...
...
@@ -215,3 +215,24 @@ select count(*) from t1 where match a against ('aaazzz' in boolean mode);
count(*)
262
drop table t1;
set names utf8;
create table t1(a text,fulltext(a)) collate=utf8_swedish_ci;
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'),
('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'),('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'),('test'),('test'),('test'),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test');
delete from t1 limit 1;
drop table t1;
set names latin1;
mysql-test/t/fulltext2.test
View file @
25f396ad
...
...
@@ -179,7 +179,37 @@ update t1 set a='aaaxxx' where a = 'aaayyy';
select
count
(
*
)
from
t1
where
match
a
against
(
'aaaxxx'
in
boolean
mode
);
select
count
(
*
)
from
t1
where
match
a
against
(
'aaayyy'
in
boolean
mode
);
select
count
(
*
)
from
t1
where
match
a
against
(
'aaazzz'
in
boolean
mode
);
drop
table
t1
;
#
# BUG#11336
#
# for uca collation isalnum and strnncollsp don't agree on whether
# 0xC2A0 is a space (strnncollsp is right, isalnum is wrong).
#
# they still don't, the bug was fixed by avoiding strnncollsp
#
set
names
utf8
;
create
table
t1
(
a
text
,
fulltext
(
a
))
collate
=
utf8_swedish_ci
;
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'
),
(
'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'
),(
'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'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
);
delete
from
t1
limit
1
;
drop
table
t1
;
set
names
latin1
;
# End of 4.1 tests
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