summaryrefslogtreecommitdiff
path: root/myisam/ft_update.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-15 18:05:04 +0200
committerunknown <serg@serg.mylan>2003-10-15 18:05:04 +0200
commitb1124529ed31d2fad544504d2f44db0c84eb292e (patch)
tree46e12017301c2460ba8df67a7fdb5d4ef4a98f21 /myisam/ft_update.c
parent845e9f559ce2f06f1ad0c6f8fbfda18f85eb87ea (diff)
downloadmariadb-git-b1124529ed31d2fad544504d2f44db0c84eb292e.tar.gz
cleanup
myisam/ft_update.c: unused parameter removed myisam/ftdefs.h: unused parameter removed myisam/mi_check.c: unused parameter removed mysys/Makefile.am: unused file removed from Makefile
Diffstat (limited to 'myisam/ft_update.c')
-rw-r--r--myisam/ft_update.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/myisam/ft_update.c b/myisam/ft_update.c
index 8423b6898cd..79892f54002 100644
--- a/myisam/ft_update.c
+++ b/myisam/ft_update.c
@@ -114,9 +114,7 @@ uint _mi_ft_parse(TREE *parsed, MI_INFO *info, uint keynr, const byte *record)
DBUG_RETURN(0);
}
-FT_WORD * _mi_ft_parserecord(MI_INFO *info, uint keynr,
- byte *keybuf __attribute__((unused)),
- const byte *record)
+FT_WORD * _mi_ft_parserecord(MI_INFO *info, uint keynr, const byte *record)
{
TREE ptree;
DBUG_ENTER("_mi_ft_parserecord");
@@ -199,9 +197,9 @@ int _mi_ft_update(MI_INFO *info, uint keynr, byte *keybuf,
int cmp, cmp2;
DBUG_ENTER("_mi_ft_update");
- if (!(old_word=oldlist=_mi_ft_parserecord(info, keynr, keybuf, oldrec)))
+ if (!(old_word=oldlist=_mi_ft_parserecord(info, keynr, oldrec)))
goto err0;
- if (!(new_word=newlist=_mi_ft_parserecord(info, keynr, keybuf, newrec)))
+ if (!(new_word=newlist=_mi_ft_parserecord(info, keynr, newrec)))
goto err1;
error=0;
@@ -249,7 +247,7 @@ int _mi_ft_add(MI_INFO *info, uint keynr, byte *keybuf, const byte *record,
FT_WORD *wlist;
DBUG_ENTER("_mi_ft_add");
- if ((wlist=_mi_ft_parserecord(info, keynr, keybuf, record)))
+ if ((wlist=_mi_ft_parserecord(info, keynr, record)))
{
error=_mi_ft_store(info,keynr,keybuf,wlist,pos);
my_free((char*) wlist,MYF(0));
@@ -268,7 +266,7 @@ int _mi_ft_del(MI_INFO *info, uint keynr, byte *keybuf, const byte *record,
DBUG_ENTER("_mi_ft_del");
DBUG_PRINT("enter",("keynr: %d",keynr));
- if ((wlist=_mi_ft_parserecord(info, keynr, keybuf, record)))
+ if ((wlist=_mi_ft_parserecord(info, keynr, record)))
{
error=_mi_ft_erase(info,keynr,keybuf,wlist,pos);
my_free((char*) wlist,MYF(0));