summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-12-18 13:30:01 +0100
committerunknown <serg@serg.mylan>2005-12-18 13:30:01 +0100
commit3cd1e9765c6894c016689427b3fe8a609c7a51ca (patch)
tree41818b05d4bc73f20c58afb121389658b73e9559 /myisam
parent5aeb69296a4e134f0215da3e6bcce4956b7d76ad (diff)
downloadmariadb-git-3cd1e9765c6894c016689427b3fe8a609c7a51ca.tar.gz
BUG#11336 - fulltext index corruption after repair_by_sort and mi_delete
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
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_delete.c b/myisam/mi_delete.c
index 833223221ec..6c302aecea1 100644
--- a/myisam/mi_delete.c
+++ b/myisam/mi_delete.c
@@ -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)
{