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
0e4bed8c
Commit
0e4bed8c
authored
Jan 13, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft-bugfix (UPDATE something -> NULL)
parent
2b0141f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
myisam/ft_update.c
myisam/ft_update.c
+2
-1
mysql-test/r/fulltext.result
mysql-test/r/fulltext.result
+1
-0
mysql-test/t/fulltext.test
mysql-test/t/fulltext.test
+1
-1
No files found.
myisam/ft_update.c
View file @
0e4bed8c
...
...
@@ -159,9 +159,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
while
(
_mi_ft_segiterator
(
&
ftsi1
)
&&
_mi_ft_segiterator
(
&
ftsi2
))
{
if
((
ftsi1
.
pos
!=
ftsi2
.
pos
)
&&
(
!
ftsi1
.
pos
||
!
ftsi2
.
pos
||
_mi_compare_text
(
default_charset_info
,
(
uchar
*
)
ftsi1
.
pos
,
ftsi1
.
len
,
(
uchar
*
)
ftsi2
.
pos
,
ftsi2
.
len
,
0
))
(
uchar
*
)
ftsi2
.
pos
,
ftsi2
.
len
,
0
))
)
return
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
;
}
return
GEE_THEY_ARE_ABSOLUTELY_IDENTICAL
;
...
...
mysql-test/r/fulltext.result
View file @
0e4bed8c
...
...
@@ -149,3 +149,4 @@ update t1 set title='this test once revealed a bug' where id=1;
select * from t1;
id title
1 this test once revealed a bug
update t1 set title=NULL where id=1;
mysql-test/t/fulltext.test
View file @
0e4bed8c
...
...
@@ -128,4 +128,4 @@ update t1 set title='this is A test' where id=1;
check
table
t1
;
update
t1
set
title
=
'this test once revealed a bug'
where
id
=
1
;
select
*
from
t1
;
update
t1
set
title
=
NULL
where
id
=
1
;
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