Loading myisam/ft_update.c +2 −1 Original line number Diff line number Diff line Loading @@ -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; Loading mysql-test/r/fulltext.result +1 −0 Original line number Diff line number Diff line Loading @@ -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 +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading
myisam/ft_update.c +2 −1 Original line number Diff line number Diff line Loading @@ -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; Loading
mysql-test/r/fulltext.result +1 −0 Original line number Diff line number Diff line Loading @@ -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 +1 −1 Original line number Diff line number Diff line Loading @@ -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;