diff options
Diffstat (limited to 'myisam/ft_boolean_search.c')
-rw-r--r-- | myisam/ft_boolean_search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/ft_boolean_search.c b/myisam/ft_boolean_search.c index 32d8e7941bb..00f3ac8ff0a 100644 --- a/myisam/ft_boolean_search.c +++ b/myisam/ft_boolean_search.c @@ -87,9 +87,9 @@ typedef struct st_ft_info { int FTB_WORD_cmp(void *v, byte *a, byte *b) { /* ORDER BY docid, ndepth DESC */ - int i=comp(((FTB_WORD *)a)->docid, ((FTB_WORD *)b)->docid); + int i=CMP(((FTB_WORD *)a)->docid, ((FTB_WORD *)b)->docid); if (!i) - i=comp(((FTB_WORD *)b)->ndepth,((FTB_WORD *)a)->ndepth); + i=CMP(((FTB_WORD *)b)->ndepth,((FTB_WORD *)a)->ndepth); return i; } |