summaryrefslogtreecommitdiff
path: root/myisam/ft_boolean_search.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-10-09 15:23:44 +0200
committerunknown <serg@serg.mysql.com>2001-10-09 15:23:44 +0200
commit93cc6444ccad2ace36ba354cd96ffe8ede676761 (patch)
tree9246142fc630888d9df22974741b24594d61b55a /myisam/ft_boolean_search.c
parentc561a6f2a67595d80eeed4401251d99726d494ac (diff)
downloadmariadb-git-93cc6444ccad2ace36ba354cd96ffe8ede676761.tar.gz
get rid of comp() macro - CMP is already in place
Diffstat (limited to 'myisam/ft_boolean_search.c')
-rw-r--r--myisam/ft_boolean_search.c4
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;
}