Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / databases / mysql56-client / patches / patch-storage_myisam_mi__search.c
blob54b6ee205a49faf07de42dc13caaa5495b20b201
1 $NetBSD$
3 --- storage/myisam/mi_search.c.orig 2013-04-28 13:59:30.000000000 +0000
4 +++ storage/myisam/mi_search.c
5 @@ -82,7 +82,7 @@ int _mi_search(register MI_INFO *info, r
8 if (!(buff=_mi_fetch_keypage(info,keyinfo,pos,DFLT_INIT_HITS,info->buff,
9 - test(!(nextflag & SEARCH_SAVE_BUFF)))))
10 + my_test(!(nextflag & SEARCH_SAVE_BUFF)))))
11 goto err;
12 DBUG_DUMP("page", buff, mi_getint(buff));
14 @@ -125,7 +125,7 @@ int _mi_search(register MI_INFO *info, r
16 uchar *old_buff=buff;
17 if (!(buff=_mi_fetch_keypage(info,keyinfo,pos,DFLT_INIT_HITS,info->buff,
18 - test(!(nextflag & SEARCH_SAVE_BUFF)))))
19 + my_test(!(nextflag & SEARCH_SAVE_BUFF)))))
20 goto err;
21 keypos=buff+(keypos-old_buff);
22 maxpos=buff+(maxpos-old_buff);