summaryrefslogtreecommitdiff
path: root/myisam/myisamlog.c
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-07-02 21:52:22 +0200
committerserg@serg.mysql.com <>2001-07-02 21:52:22 +0200
commit004313688277d2f079750c191eda748874a3cc31 (patch)
treeb02cd20fcbc632447cd4b10782204969c9e6af34 /myisam/myisamlog.c
parent15b6738474fd9df56c4aff8f984278cd374bd3f3 (diff)
parent9e9f21a5c9832e783eccd76499ba1472a4feed3d (diff)
downloadmariadb-git-004313688277d2f079750c191eda748874a3cc31.tar.gz
merged
Diffstat (limited to 'myisam/myisamlog.c')
-rw-r--r--myisam/myisamlog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/myisam/myisamlog.c b/myisam/myisamlog.c
index 36817ac2842..78c3faa72ed 100644
--- a/myisam/myisamlog.c
+++ b/myisam/myisamlog.c
@@ -56,7 +56,7 @@ extern int main(int argc,char * *argv);
static void get_options(int *argc,char ***argv);
static int examine_log(my_string file_name,char **table_names);
static int read_string(IO_CACHE *file,gptr *to,uint length);
-static int file_info_compare(void *a,void *b);
+static int file_info_compare(void *cmp_arg, void *a,void *b);
static int test_if_open(struct file_info *key,element_count count,
struct test_if_open_param *param);
static void fix_blob_pointers(MI_INFO *isam,byte *record);
@@ -698,7 +698,8 @@ static int read_string(IO_CACHE *file, register gptr *to, register uint length)
} /* read_string */
-static int file_info_compare(void *a, void *b)
+static int file_info_compare(void* cmp_arg __attribute__((unused)),
+ void *a, void *b)
{
long lint;